Pad a String Field with Zeros?
A2k (9.0.4402) SR-1
I have a table of records that the following field that contains:
strPermitNo
123
1234
12345
What is easiest way with update query to pad these fields with zeros so they have a field length of 7 as follows?
strPermitNo
0000123
0001234
0012345
Looking for something like this, but zero fill instead:
Space(7-Len([strPermitNo])) & [strPermitNo]
Thanks, John Graves