A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Decimal positions truncating when exporting to text file



 
 
Thread Tools Display Modes
  #1  
Old June 5th, 2004, 09:01 PM
smars66
external usenet poster
 
Posts: n/a
Default Decimal positions truncating when exporting to text file

I have a table with a decimal field. There are 4 decimal positions. When I export the table to a comma delimited text file, it truncates the last 2 decimal positions. The export goes through a wizard and I think the decimals are getting truncated in the wizard. Does anyone know how to edit the wizard parameters?
  #2  
Old June 5th, 2004, 10:19 PM
Ken Snell
external usenet poster
 
Posts: n/a
Default Decimal positions truncating when exporting to text file

Create a query that will select the records from the table. Replace the
"decimal" field with a calculated field that uses the Format function to
give you four decimal places:
OutPutField: Format([FieldName], "0.0000")

--

Ken Snell
MS ACCESS MVP

"smars66" wrote in message
...
I have a table with a decimal field. There are 4 decimal positions. When I

export the table to a comma delimited text file, it truncates the last 2
decimal positions. The export goes through a wizard and I think the decimals
are getting truncated in the wizard. Does anyone know how to edit the wizard
parameters?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.