Auto Assign a Unique ID in MS Access - TechRepublic
Question
July 22, 2009 at 05:31 AM
h_macmullin

Auto Assign a Unique ID in MS Access

by h_macmullin . Updated 16 years, 11 months ago

When a record is first added to this particular database I?m working on, I would like a record to be automatically assigned the current date (e.g. 22-Jul-09) in a separate field. I also would like to be able to automatically assign each record with a unique alphanumeric identifier (e.g. KARL090722) when a record is first created. The first 4 alpha characters are pre-defined in a field of their own and ideally, the 6-digit numeric part is a date identifier as to when the record was created.

I would appreciate any suggestions as to how to go about accomplishing this. I would also settle for some alternative in automatically assigning some kind of unique alphanumeric identifier.

Thanks for the help.

This discussion is locked

All Comments