I would agree with you and SacCourt most of the time. However this user has
approx. 100+ spreadsheets, all non-standardized, that gets sent to her from
various sources. The database will be used to standardize the data.
Reformatting all of the data in the Excel spreadsheets is out of the
question--(too many variables to account for. Differences in fields as well
as formats). Even if I built import specs for every spreadsheet, any new
spreadsheet would still be an issue. I tried building an Excel "Template
spreadsheet" for her to paste the data into, but Excel keeps the formatting
of a field when you copy and paste, so it overwrites the template fields.
The next best solution is to paste directly into Access which does not
inherit field formatting. That is when the issue of not pasting all the data
reared its ugly head.
I hope this clarifies why I'm using such an archaic way of importing the
data. However, I will consider any other possible solutions for importing
the data with less effort.
Thanks,
hwn
"John Vinson" wrote:
> On Mon, 23 May 2005 10:11:01 -0700, "nieszhw"
> <(E-Mail Removed)> wrote:
>
> >When pasting a column of data from Excel to Access, one of my users is
> >experiencing data loss. For instance, they may have 100 rows to paste, but
> >when the paste occurs, it says "You are about to paste 2 rows". The data in
> >Excel is formatted as General. They are all text entries (LastName fields).
> >It is not exceeding the maximum field width in Access.
> >
> >The user says they've tried this on multiple workstations with the same
> >result. However on my personal Laptop it does not happen, --all the data
> >pastes just fine.
> >
> >Does anyone know why this may be occuring?
>
> As SacCourt says, copy and paste is really less than ideal. I'd
> suggest using File... Get External Data... Link to connect Access to
> the spreadsheets, and then run Append queries to add new records, and
> Update queries (joining on an appropriate unique field in the table
> being updated) to update existing ones.
>
> John W. Vinson[MVP]
>
|