MS Access export to text file decimal round off problem

MS ACCESS

    Sponsored Links

    Next

  • 1. query help pls - add totals of 3 fields with similar values
    Hello, I made a log book to record model rocket flights. The table to record each flight has 3 fields that allow you to select the type of motor used (some rockets can use more than one motor for each flight). eg: motor1 motor2 motor3 These fields are lookup fields from the table tblMotors. I want a query that can total the motors used based on each type of motor - ie: D21-5 total = 8, E9-8 total = 23 etc... I can get it to total the motors from motor1 or motor2 etc, but I cant get it to total the motors from all 3 fields. Can anyone helps? Thanks.
  • 2. External Source Control of Basic Modules in MS-Access?
    I would like to, at a minimum, be able to export and import MS-Access basic modules so that I can edit them using my own editor. Additionally I'd like to move the routines into a source control mechanism such as CVS. Has anyone ever accomplished such a thing? Pointers would be appreciated. -- Randy Yates
  • 3. Access date/time range query
    I need to query an Access database via VB and get a count of all the calls where the start time is between a 2 certain days/times. For example, all the calls that occurred from Saturday @ 8am to Monday @ 8am. It needs to be for saturdays - mondays, not just a certain weekend. Anyone have any clues how to do this? I have the weekday part down, I am just stumped on how to handle the time range. SELECT COUNT(call_id) FROM calls WHERE (weekday(start) >= 7 OR weekday(start) <=2) I am not sure how to tie the time range in. I would appreciate any feedback. Thanks!
  • 4. calling MSDE functions via ODBC ?
    Hello. How can I call some functions on MSDE when working in .mdb ? Especially in-line functions which are similar to stored procedures. How can I use MSDE in-line functions as recordsource for .mdb forms ? Can I call in-line functions using ADO ? I tried, but it seems that only stored procedures are allowed (adCmdStoredProc).... Thanks.

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:) 

Thanks,
Craig

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.

Hi, 

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. 

-Chris

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
this?

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.

Dave


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