Home
What is MS Access
Tables
Forms
Queries
Reports
VBA Codes
Learn VBA
Access 2007/10
Access 97
Tips via email
Whats New!
Contact Me
Questions Answered

[?] Subscribe To This Site

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines

Adding Prefix to AutoNumber

Adding Prefix to AutoNumber



This tip Adding Prefix to AutoNumber is suitable for all versions of Microsoft Access.

This tip will explain about adding a prefix to an autonumber field.

An AutoNumber field is great as it automatically increases for you. There are times though when you need a prefix before it. For this example our prefix is ABC and we want the number to display as:

ABC001

ABC002

Etc.

You can easily set this up.

When creating your table and defining the field type as an AutoNumber field, click on the ‘General’ tab in the bottom half of the table design window. One of the properties listed here is ‘Format’.

In here, type the following:

“ABC”000

Now the prefix and the corresponding zeros will be included with each of your AutoNumbers.




Return from Adding Prefix to AutoNumber to Simply Access Home Page


or

Return to Microsoft Access Tables


Search Simply Access

Custom Search


Want to learn more for free.

Sign up for Simply Access 'Microsoft Access Tips'. Free useable tips to your in-box each month.

Enter your E-mail Address
Enter your First Name (optional)
Then

Don't worry -- your e-mail address is totally secure.
I promise to use it only to send you Microsoft Access Tips.



If you wish to learn VBA to expand the possibilities of Microsoft Access then

Click Here Just $7.95 for 56 lessons.