Leading zeros in an Access database?

  • Thread starter Leading zeros in Access database
  • Start date
L

Leading zeros in Access database

How do I display leading zeros in an Access database, e.g 012345 ? The field
is IDNumber and the data type is 'number'. Thanks
 
P

Patricia Cardoza [Outlook MVP]

A number can't have leading zeros. You'd need to change the field to text.

--
Patricia Cardoza
Outlook MVP
Author - Special Edition Using Microsoft Office Outlook 2003
Lead Author - Access 2003 VBA Programmer's Reference
Author - Absolute Beginner's Guide to Microsoft OneNote 2003

http://blogs.officezealot.com/cardoza

"Leading zeros in Access database" <Leading zeros in Access
(e-mail address removed)> wrote in message
news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top