Jump to content

Serial number

Guest Sarah

Recommended Posts

Guest Sarah

I am carrying out a project to finalize a project for the college which consists of the following.

An automatic serial number of two groups with numbers with a space in the middle of the third digit (ex: 159 023)

ex: 159 023
159 024
159 025

Thanks for the help.

Link to post
Share on other sites
  • Newbies

If you are starting this database from scratch, set your Primary Key (type number) to a serial number (on creation) starting at 159 000 (or whatever starting number you need). From then on each new serial number will have that space between the first 3 digits and the last 3 digits. If you already have many records,  create a calculation (number) field with this definition:

Left ( yourSerialNumberField  ; 3 ) & " " & Right (yourSerialNumberField ; 3 )

You can use this second field with a space between the first 3 and last 3 for your project.

Edited by Al Quimby
Link to post
Share on other sites
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.