text coming through as scientific notation on import

C

Craig

I am importing an MS Excel file into MS Access. There is
one field of all numbers that I have set to text both in
the MS Excel file and in the Access table. However, a lot
of these, upon import, are showing up in the table as
scientific notation. How do I fix this?

thank you...

Craig
 
T

Tim Ferguson

However, a lot
of these, upon import, are showing up in the table as
scientific notation. How do I fix this?

UPDATE MyTable
SET MyNumber = Format(CDbl(MyNumber),"0")
WHERE MyNumber IS NOT NULL


Hope that helps -- but remember to back up first, in case it doesn't!!


Tim F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top