Access, Add Leading Zeros Custom Number Formats

This article explains how to add leading zeros to numbers in an Access database using Custom Number Formats.


How to?

Open the table in design view. Select the field you want to apply leading zeros to. Put as many zeros in the  Format section as you would like to have digits:

0000000

Leading Zeros

The resulting table will look like this:
Leading Zeros
Note: The custom formatting applies to fields of the Number Data Type.

You can download the sample file used in this article from the link below:

See also:

If you need assistance with your code, or you are looking for a VBA programmer to hire feel free to contact me. Also please visit my website  www.software-solutions-online.com

Leave a Reply

Your email address will not be published. Required fields are marked *