Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import CSV File To Access Formating Issue

Status
Not open for further replies.

JustATheory

IS-IT--Management
Feb 27, 2003
115
US
Greetings,

I'm having trouble importing a CSV file into access, one field I'm formating as TEXT for the import, some entries I'm receiving scientific notation in the table. The entries can be alpha-numeric or just numeric. CSV files don't keep their format when you close them down. Any advice is greatly appreciated

Thansk,
Andy
 
Are you sure if you find the row in the CSV file that the value isn't scientific notation in there?

I have heard that EXCEL can be obnoxious when saving as a CSV and doing value changes. If this is the problem, try formating the cells as text.

If it is not an Excel problem, then I am guessing something like the column does not have text delimiters and you are specifying one in your specification. Typically double quotes are used or nothing. If possible, getting the CSV file to be consistent would be ideal. Come to think of it this may be why the person telling me about the CSV/Excel problem has issues as Excel likes to put double quotes around text.
 
Hi,

Sounds silly, but are you sure that you are dragging the field wide enough in Access, or are you sure that the Access field data-type is correct for this size of number?

Regards,

Darrylle

Never argue with an idiot, he'll bring you down to his level - then beat you with experience.
 
Ak,

Sorry - re-read your post (text in Access) - ignore my response above.

ATB

Darrylle

Never argue with an idiot, he'll bring you down to his level - then beat you with experience.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top