G
Guest
I would like to automatically add the last two digits of the year to each new
primary key when a new record is added to a table.
Eg.
If a new record is added to a table with an autonumber field the keys will be:
1,2,3,4,5.....
I would like to make the primary contain the prefix of the year, e.g.
06/1, o6/2, 06/3........06/1234 and so on.
Does anyone know how I can program an interface to do this?
In VBA for example?
primary key when a new record is added to a table.
Eg.
If a new record is added to a table with an autonumber field the keys will be:
1,2,3,4,5.....
I would like to make the primary contain the prefix of the year, e.g.
06/1, o6/2, 06/3........06/1234 and so on.
Does anyone know how I can program an interface to do this?
In VBA for example?