MS Access export to text file decimal round off problem


    Sponsored Links


  • 1. Access 2000: how to create a query based on a form parameter -- Please HELP!!
    I would like to create a query where one of the columns of the queries comes from a combo list box on a form. For example, if my table has the following fields: id name interest1 interest2 interest3 my combo box would be a dropdown containing these choices: interest1 interest2 interest3 when the user selects one these in the combo box, then the following query executes: select id, name, [interestselectedfrombox] from mytable where blah = blah ex: they select interest3 from the combo box, then the query that runs is: select id, name, interest3 from mytable where blah = blah i've tried variants on this, but none of them have worked so far. i need some help!!!!! if anyone could show me some specific syntax examples, that would be great.
  • 2. How to add long items and scroll bars to combobox?
    Hi All, I have a combobox that is being sourced by a table of very long strings. However, only the first 254 characters of my strings are being filled into the combobox. Is there a way to get around this length limitation? Also, I made the combobox long and wide in order to display as much of the selected item's text as possible. However, all of the text does not display within the box, so I'd like to have scroll bars on my combobox. Is that possible? Thanks, Norm
  • 3. 1 ZIP code 2 Cities
    Blackridge VA and La Crosse VA share a common ZIP code, 23950. I would like to make a small table of ZIP codes, Cities, and States to only include the ZIP codes for members of a small club. The main membership table would only have the ZIP code and that would be related to the ZIP code in the small table. There are members in both VA and some in NC. Access doesn't like, with extreme prejudice, a relationship with the same ZIP code for two Cities. There may be a way around this by making the ZIP code for these two cities have a real, or arbitary, four digit extension. If I do this, am I stuck with having to make all ZIP codes have a four digit extension? Is there a better way to attack the pronblem? All suggestions will be greatly appreciated. Chuck ...

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 34 guest