MS Access export to text file decimal round off problem


    Sponsored Links


  • 1. Scroll In Code Window With Intellipoint 6
    Has anyone been able to get their mouse to scroll in the code window using Intellipoint 6 with Windows Vista?
  • 2. ODBC Dialog won't appear
    I am having and issue linking to an ODBC database. The issue is simple. When I try to link and select ODBC data sources as the Files of Type, the ODBC dialog (to pick the DSN) does not show. It just acts that though I hit cancel. I am using Access 2003, SP2. Just started happening. Any help would be greatly appreciated.
  • 3. Can attributes of tables/relationships, etc. be changed programatically?
    Hi All, Development stage of setting up a new solution here. I CONSTANTLY have to unhook the relationships I've built via the Relationships tab on Tools, then change the Required element of a few controls on a table from yes to no, make some other adjustments to the attributes of various controls, then copy just the structure (so that the primary key resets to 1) to another name, delete the first table, rename the new table to what it should be, import some data (from another system I'm converting from), run some queries that find duplicates, missing data, deletes some garbage, etc. I then have to redo the Required elements I need, rehook the relationships and all the other stuff I had to cancel just to get the data over. Now, don't get me wrong...I'm amazed I can even DO all of this without coding anything. But... The terrible part is, my boss is going to eventually want to take this existing mdb and make one identical too it but with only certain of the tables populated with some data and defaults and things, leaving the rest of the tables empty (ready for new data), and make a new mdb with it. NO WAY can I allow HIM to have access to all this stuff. Talk about screwing things up... Can I do any of this in code rather than manually through all these wizards/screens, etc? And if I can do it by code, can anyone point me towards some examples I can study? Thanks, ron
  • 4. Query with no doubles
    I have a table which displays playerID, YearID, RosterID, and Games played. Then I have a query that looks like this SELECT Positions.playerID, Positions.YearID, Positions.rosterID, Max(Positions.[Games Played]) AS [MaxOfGames Played] FROM Positions GROUP BY Positions.playerID, Positions.YearID, Positions.rosterID; My problem is that I dont want any doubles so if a player have 2 rosterID's in 1 year I just want to see that roster ID associated with the MaxofGamesPlayed. How do I do this???

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