The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. SYMPTOMSIf 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. RESOLUTIONTo 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") MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor more information about exporting tables, click Microsoft Access Help on the
Help menu, type "export data or database objects to another database or file format" in the Office Assistant or the Answer Wizard,
and then click Search to view the topic. Additional query words: round rounding prb truncate
Keywords : kb3rdparty kbdta IsmTxtd |
Last Reviewed: June 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |