Hi,
In one of my tables, I have a primary key based on two cells:
user_id_year
user_id_num
The user_id_year gets the current year when a record is added, but user_id_num should get the next value for the year.
(Basically an autonumber, but it should be depended of the year)
Eg:
user one has...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.