Need a String Function

fhs

Registered User.
Local time
Today, 21:33
Joined
Aug 8, 2001
Messages
68
I’ve got a six-character text field with values like: 354, 7237, 10438, some three characters long, some four characters long, and some five characters long. I need to run an update query to place sufficient “zeros” in front of each value to make it a six-character value. There are 8398 records to change! Thanks in advance.
 
I apologize for my desperation.
 
Try updating to Format(CLng([Fieldname]), "000000")

Dave.
 
Dave's suggestion worked great! Let's hear it for simplicity! Thanks y'all.
 

Users who are viewing this thread

Back
Top Bottom