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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Leading Zeros

Status
Not open for further replies.

zonetrap

Technical User
Jun 13, 2001
8
US
Somehow I have forgotten this, but I need to put in leading zeros. I thought I could put in 8, but I cant seem to find it. Im pretty sure I did it a few months ago. I went into Properties, Format, and could put in 5.

Is there a way to put in 8?
 
The following code snippet indicates a good way to express a numeric value with a set number of columns (10 in this example).


var ...
sBARCODE string
iBARNUMB longint
endvar ...
sBARCODE = format("w10,ez",iBARNUMB) ...

Thanks A.I.

pck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top