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

Preceeding Zero's

Status
Not open for further replies.

BROWNIE56

Programmer
Dec 28, 2000
31
US
I need to be able to display an account number that will always disply "zero's" before the account number, up to six digits.

Example:
000056
001112
023433
000001

Thank you,
Sharon
 
try this

Totext({table.AccountNum}),"000000")

that should work...please note that this format does not round numbers...rather it truncates them

Hope this helps
Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top