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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On Import of Text Field that is currency with implied decimals

Status
Not open for further replies.

jkejke

Programmer
Jan 18, 2001
35
US
Currently when importing a text file with a currency field containing an implied decimal--access puts the decimal at the end and adds two zeros---does anyone know how to import this correctly--

Thanks
 
It depends on whether that decimal and zeros exist in the source file. If they don't, then when you're importing, use the wizard, and stop at the point where it shows the field types, and either change the field type to Text or Double--if you're sure the data is all numeric, then use Double.

Then in the result table, you can format that field (if it's a double) to show decimals only when they exist (auto), which I believe is the default for the double field type.

--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top