MS Access export to text file decimal round off problem


    Sponsored Links


  • 1. Access2K vs Access2002 Sums
    I am using a control MyTotal on a subform footer to get a sum of all rows on the subform: =Sum([Amount]) On the main form I have a control whose controlsource is: =Forms!FormName.Child.Form.MyTotal. This displays the sum of the subform. It works fine on Access 2000 but displays an error in Access 2002. I can't figure this one out. lq
  • 2. calling stored procedure from access query
    Hi all, I want to call a stored procedure which is written in SQL Server from an ms-access query. It is having some parameters also and the stored procedure will return some records. Is there any way to do this? Any help? Thank you
  • 3. Filter By Form using LIKE clause
    Is it possible that when having a user using Filter By Form in a form that no matter what the user enters in for a value that "LIKE *Value*" gets automatically replaced? Would I have to do something in the On Filter or On Apply Filter event? For example, say I have a form displaying part numbers in datasheet view. A part number, for example, will look like 123-4567-89-12-1 where each part of the part number means something. Lets say I want to filter out all the part numbers that contain "4567". In SQL I'd make a query where the WHERE clasue would contain "partnumber LIKE *4567*". But if I entered that in witht eh default setup for filter by for it does something like "partnumber = 4567". Is there a way to get filter by form to act like that or do I just have to make my own custom form to handle something like this?
  • 4. update a text box using combo box
    Hi all, I have 3 unbound combo boxes in my form which basically helps me to filter for values. I need to update a text box which will be stored with the value I receive after filtering with the combo boxes. I know of the column(n) method (derived from the third combo). However if the user does any sort of manipulation in the first or second combo then the value in the text box doesn't change accordingly. Is there any other way to update the text box in a more accurate way. Please help. TIA -- Regards, B

MS Access export to text file decimal round off problem

Postby brotherhou » Sun, 26 Oct 2003 07:13:54 GMT

It's found that when exporting a table/query to a text file, numbers
with decimals will be rounded off to 2 decimals (or 0 decimals
sometimes). Is there an explanation or setting for that?

Similar Threads:

1.Exporting Number with Decimals to Text Rounds to 1 decimal place

I have data in Access that I need to export to a text file.  This data has 4 
or more decimal places and when I export the data the text file ends up with 
rounded data to the first decimal place.  Please help:) 


2.Why Access export three decimal but in text file only two decimal

Can any Access 2003 gurus kindly please advice me on the reason why Access 
export table options exports to a text file involving number data type with 
three decimal places but resulting in only two decimal places in my text file 
content ? 
Is it a bug that causes the last decimal digit to be truncated or some 
settings that could help rectify this problem of mine ?

3.Decimal point rounded off when exporting.


I'm running into an issue when exporting a table to a .csv file. The table 
contains columns of numbers many of which contain a decimal point and three 
digits after the decimal. For example 5.123. The problem is that once the 
table has been exported to the .csv file the third number (the thousandth) 
has been rounded and I only get the hundredth (for example 5.12). Have tried 
Access 2002 and 2003 with the same results. The data type of the columns is 
Number, Field Size is Double, with Decimal Places set to Auto. Any 
suggestions? Thanks in advance for your help. 


4.Problems with DBase IV file exporting after converting frojm MS Access 97 to MS Access 2000

In our MS ACCESS 97 database that we have converted to a MS Access 2000
database.  In this application we transfer (TransferDataBase) a table  with
a memo field to DBase IV.  Our application uses the dbf and dbt files
generated to do some further manipulation.  The system works under MS Access
97 but does not under Ms Access 2000.

Is the dbf page size exported different in MS Access 2000?

Any other driver or parameter settings in MS Access that could be affecting

We also notice that the new MS Access transfer cmd produces a new file with
an MDX extension.  Can we get Access to work without this file?

Any help greatly appreciated.


5.Keep decimal places when exporting to text files from Access

6. Export from Access to Text file: Specified number of decimal place

7. import text file errors - cutting off decimals

8. form rounding off decimals

Return to MS ACCESS


Who is online

Users browsing this forum: No registered users and 39 guest