473,412 Members | 2,051 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,412 software developers and data experts.

export to DBF without decimals?

This is driving me nuts - I'm trying to export my access table to dbaseIII
format. Most of the fields are text except for 2 of them which are
numbers. No matter what I try, the resulting exported file adds a decimal
and four "0" after the numbers. All the numbers in the table have no
decimal showing, nor should they. But 607 gets exported as 607.0000

I've tried everything I can think of - someone please tell me how to get
around this?

Thanks
Nov 13 '05 #1
4 2750
On Thu, 10 Mar 2005 18:12:29 -0600, ej@frostNOSPAM.co.edu (Eddie J)
wrote:

Why would you? The value of 607 is equal to the value of 607.0000.
It's just a matter of formatting, which has to do with presentation,
NOT with the actual value.

-Tom.
This is driving me nuts - I'm trying to export my access table to dbaseIII
format. Most of the fields are text except for 2 of them which are
numbers. No matter what I try, the resulting exported file adds a decimal
and four "0" after the numbers. All the numbers in the table have no
decimal showing, nor should they. But 607 gets exported as 607.0000

I've tried everything I can think of - someone please tell me how to get
around this?

Thanks


Nov 13 '05 #2
DFS
Eddie J wrote:
This is driving me nuts - I'm trying to export my access table to
dbaseIII format. Most of the fields are text except for 2 of them
which are numbers. No matter what I try, the resulting exported file
adds a decimal and four "0" after the numbers. All the numbers in
the table have no decimal showing, nor should they. But 607 gets
exported as 607.0000

I've tried everything I can think of - someone please tell me how to
get around this?
Try exporting a query that formats the columns with no decimals.

Thanks

Nov 13 '05 #3
no****@DFS.com (DFS) wrote in <1A******************@fe07.lga>:
Eddie J wrote:
This is driving me nuts - I'm trying to export my access table to
dbaseIII format. Most of the fields are text except for 2 of them
which are numbers. No matter what I try, the resulting exported file
adds a decimal and four "0" after the numbers. All the numbers in
the table have no decimal showing, nor should they. But 607 gets
exported as 607.0000

I've tried everything I can think of - someone please tell me how to
get around this?


Try exporting a query that formats the columns with no decimals.


Can you give me some thought on how that is done?

Thanks much.

Nov 13 '05 #4
Sorry, disregard. Figured out with Format() function. Thanks again.
Try exporting a query that formats the columns with no decimals.


Can you give me some thought on how that is done?

Thanks much.


Nov 13 '05 #5

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

Similar topics

13
by: DarkSpy | last post by:
many c++ compilers including "gcc" have not implemented the "export" keyword, but the comeau compilers made it (just i knew). i want to know about: is it too difficult to implement "export"...
3
by: Bennett Haselton | last post by:
I'm working on an ASP.Net project where I want to test code on a local machine using a local database as a back-end, and then export it to the production machine where it uses the hosting...
205
by: Jeremy Siek | last post by:
CALL FOR PAPERS/PARTICIPATION C++, Boost, and the Future of C++ Libraries Workshop at OOPSLA October 24-28, 2004 Vancouver, British Columbia, Canada http://tinyurl.com/4n5pf Submissions
0
by: konghou | last post by:
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?
2
by: GAVO-UK | last post by:
Using Ms Access 2003 I am trying to export a query to a delimited txt file containing some CURRENCY fields, which I want to export without the currently symbol and with five decimals. I have...
14
by: bonehead | last post by:
Greetings, I'm using the DoCmd.TransferText method to export the results of a MS Access query to a csv file. The csv will then be used to load an Oracle table. In other systems such as TOAD...
4
by: Steven T. Hatton | last post by:
<quote url="http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=53&rl=1"> exported Templates Last updated Sep 6, 2006. exported Templates The separate compilation model enables...
4
by: janssensglb | last post by:
I want to export from Access 2000 a numeric field (double) to a text file. The export file should be fixed length (no delimiters), the field should have 9 digits in total, including 2 decimals. I...
1
by: Warren Thai | last post by:
I am using Access 2003. I need to export data from a query to a .txt file. I know how to do this but however there is a problem with my data being rounded. The numbers in the data have 3 decimal...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.