Import as text, into a temporary table.
Append from the temporary table into the final table structure, using
queries. Force the text into the correct (integer, single, double) datatype
explicitly with CInt(), ... functions.
Regards
Jeff Boyce
Microsoft Office/Access MVP
> While in Excel I have changed my 10 digit account numbers into text
> format,
[quoted text clipped - 4 lines]
> to
> keep all the digits intact?
Paul in MN - 16 Aug 2006 19:57 GMT
This might work but, it is WHILE I am Importing as text into a temporary
table that the account numbers are changed to scientific notation format.
> Import as text, into a temporary table.
>
[quoted text clipped - 15 lines]
> > to
> > keep all the digits intact?
Jeff Boyce - 16 Aug 2006 20:04 GMT
I mis-spoke.
Create a table with text-type fields. Import into that table (I named it a
"temporary" table because it won't be the final version.)
This allows you to import values into a known table structure, rather than
relying on the wisdom of the wizard to decide.
After your data is in the "temporary" table, run the queries that parse and
coerce the data into the "permanent" tables with the correct data types.
Regards
Jeff Boyce
Microsoft Office/Access MVP
> This might work but, it is WHILE I am Importing as text into a temporary
> table that the account numbers are changed to scientific notation format.
[quoted text clipped - 21 lines]
>> > to
>> > keep all the digits intact?
Paul in MN - 16 Aug 2006 20:25 GMT
It worked. Thanks.
> I mis-spoke.
>
[quoted text clipped - 37 lines]
> >> > to
> >> > keep all the digits intact?