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

Left fill blank spaces in field with zeros 1

Status
Not open for further replies.

srossbach

IS-IT--Management
Sep 12, 2000
50
US
I have a text field in my table that is 4 characters in length - each record is a number but may only be 2 or 3 characters....

92
143
and I need to return a value that fills all 4 characters...

0092
0143

Can this be done?

Thanks for your help! And Happy Holidays!
 
Hi!

Try Format(YourFieldName, "0000")

hth Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top