A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

export date without time - comma delimited file



 
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2004, 08:23 PM
external usenet poster
 
Posts: n/a
Default export date without time - comma delimited file

Does anyone know how to export a table that has percents
and dates comma delimited without the slashes in the
date and without the time? And for the percentages, how
do I export with all the decimal places in tact as I see
on the table? When I export I don't get the trailing
zeroes?

i.e. I enter 012.7860000 when I export I get left
justified 12.786
Can someone help me?

Thanks in advance
  #2  
Old June 4th, 2004, 01:47 AM
John Vinson
external usenet poster
 
Posts: n/a
Default export date without time - comma delimited file

On Thu, 3 Jun 2004 12:23:11 -0700, "
wrote:

Does anyone know how to export a table that has percents
and dates comma delimited without the slashes in the
date and without the time? And for the percentages, how
do I export with all the decimal places in tact as I see
on the table? When I export I don't get the trailing
zeroes?

i.e. I enter 012.7860000 when I export I get left
justified 12.786
Can someone help me?

Thanks in advance


If the field is numeric, those are just two different ways of
depicting the same number.

I'd suggest exporting from a Query using the Format() function to
convert the date or the percentage to a text string:

ExpDate: Format([datefield], "ddmmyyyy")
ExpPct: Format([numberfield], "000.0000000")


John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.