473,395 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

problme exporting a table as a text file

Hi

I am in the unfortunate position of having to use some code someone
has programmed in access and i have to get the data out. i am picking
a table to export and exporting it as a text file. unfortunately, the
export wizard deosnt display the table in the same order as the table
so it is hard to compare. when it has exported, it has often knocked
digits off floating point numbers. i dont know why.

any ideas?

Thanks

Russ
Nov 13 '05 #1
4 1960
The number of digits that floating point numbers are exporting with after the decimal point is controlled by the Regional Settings on teh Control Panel of the PC on which MS Access is installed.

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #2
"David Seeto via AccessMonster.com" <fo***@AccessMonster.com> wrote in message news:<fd******************************@AccessMonst er.com>...
The number of digits that floating point numbers are exporting with after the decimal point is controlled by the Regional Settings on teh Control Panel of the PC on which MS Access is installed.


Hi

I wish it was as simple as that...I looked at my regional settings and
it is set to 2 decimal places. this gives the following

in form in text file

12.40756 12.40
0.000003 3.0e-06
1.24075E-07 1.24075e-07
7.456287E-08 7.456287e-08

ie everything ok apart from the 12.40 has been shortened

if i change the regional settings to 5 decimal places then they are
all ok. unfortunately, i have 15000 lines and only a selection are
being shortened and it is not always easy to see which

anyway, thanks for your help, it works now. just micrfosoft being
useless as usual

russ
Nov 13 '05 #3
"David Seeto via AccessMonster.com" <fo***@AccessMonster.com> wrote in message news:<fd******************************@AccessMonst er.com>...
The number of digits that floating point numbers are exporting with after the decimal point is controlled by the Regional Settings on teh Control Panel of the PC on which MS Access is installed.


and do you know why the output text is in a different row order to the
form? what is the logic?

russ
Nov 13 '05 #4
russ wrote:
"David Seeto via AccessMonster.com" <fo***@AccessMonster.com> wrote in message news:<fd******************************@AccessMonst er.com>...
The number of digits that floating point numbers are exporting with after the decimal point is controlled by the Regional Settings on teh Control Panel of the PC on which MS Access is installed.

and do you know why the output text is in a different row order to the
form? what is the logic?


A table is unordered.

I suggest you base both the form and the export on a query. You can
provide a sort order then.

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Fran Zablocki | last post by:
I have a process that exports an Access table to a comma-delimited text file. One of the fields that is exported shows the date it was exported, using the Date() function. In the Access table, the...
1
by: nunYa | last post by:
I am trying to use the DoCmd.TransferText method to export an access table to a Tab Delimited Text File. I have put the code behind the onclick event of a button and keep getting the error...
6
by: Kevin Humphreys | last post by:
Hi There, I am trying to export a recordset to an excel file using the Content Type below in the header. Response.ContentType = "application/vnd.ms-excel" Which works fine however the...
6
by: Kevin Chambers | last post by:
Hi all-- In an attempt to commit an Access MDB to a versioning system (subversion), I'm trying to figure out how to convert a jet table's metadata to text, a la SaveAsText. The end goal is to...
2
by: Snozz | last post by:
The short of it: If you needed to import a CSV file of a certain structure on a regular basis(say 32 csv files, each to one a table in 32 databases), what would be your first instinct on how to...
3
by: pmc1 | last post by:
Hi, I have a table which is based on a query that I want to export to a csv file on a regular basis.The table has 15 columns and each column is populated fully. So the table looks something...
6
by: sara | last post by:
I have what I think is a little strange...I have to get data from our payroll system into a specific format (fixed record length) as a .txt or .prn file only to upload to our 401k custodian. I...
16
by: pmatzek | last post by:
I am attempting to automate a process involving importing a .txt file into an existing table, changing a date in each record, then exporting the table, again as a .txt file. One field contains a...
1
by: Marty Klunk | last post by:
I have an Access97 data base where we are exporting records out to a text file that is then sent to a customer via EDI transmission. The problem I am having is that during the export process access...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.