J
Jeff Boyce
Stu
If you are truly referring to postal codes, note the word "code". These are
not "numbers", even though, in the US, they look like numbers. If your
underlying table defines that field as a number, you can only use formatting
to DISPLAY the leading zero, because "00001" and "1" are the same number.
If you need to STORE the leading "0", and if you might ever have a postal
code from a country other than the US, change the data type to "text".
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
If you are truly referring to postal codes, note the word "code". These are
not "numbers", even though, in the US, they look like numbers. If your
underlying table defines that field as a number, you can only use formatting
to DISPLAY the leading zero, because "00001" and "1" are the same number.
If you need to STORE the leading "0", and if you might ever have a postal
code from a country other than the US, change the data type to "text".
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.