ACC: Exporting to Text file Truncates to Two decimals PlacesID: Q153364
|
Novice: Requires knowledge of the user interface on single-user computers.
If you have a table that contains a number field with more than 2 decimal
places, and you export the table to a text file, the decimal places will be
truncated to 2 positions.
To work around this behavior, instead of exporting the table, create a
query with the fields that you want to export and use the Format() function
to specify the number of decimal places in the number field. For example,
if your field has 4 decimal places, the column in the query grid would look
as follows:
Field: Format([fieldname],"##0.0000")
This behavior is by design.
Field Name: Cost
Data Type: Number
Field Size: Double
Decimal Places: 4
For more information about exporting in Microsoft Access, search for "exporting data," and then "Export data to another database or file format," using the Microsoft Access 97 Help Index.
Additional query words: round rounding truncate
Keywords : kb3rdparty IsmTxtd
Version : WINDOWS:7.0,97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: June 16, 1999