Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CREATE AN ASCII FILE 1

Status
Not open for further replies.

kalpsv

Programmer
Jun 12, 2002
58
IN
i WANT TO CREATE AN ASCII TEXT FILE FROM MY ACCESS97
DATABASE
IT SHOULDNOT CONTAIN ANY SPACES IN BETWEEN IN NUMBER
OR CURRENCY IT SHOULD TAKE ZEROES IN EMPTY SPACES
I DO NOT KNOW HOW TO START AND WHERE TO START
I USE CR OF VISUAL BASIC 5
PLEASE HELP ME
 
IF you are saying that you want zero padded numbers, use the picture function:

Picture(totext({Numberfield},0,""),"00000000")

This will return text such as "00000005" instead of the number 5 Software Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
actually make it one function easier...

totext({Numberfield},"00000000")

will do exactly the same thing as the picture/totext function pair above...

 
Jason,

I did not know that. Cool. Software Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top