I would be tempted to do it differently than the above suggestion.
Use a full auto increment id for the entry, then a Date field for the year and then a combination Date-id field as the 'key' for the entry.
From past experience with a large Equipment Database, I suggest to you that having the "inventory number" be significant to the particular inventory item is not a good choice to make. Particularly if you attempt to limit the digits in an Inventory number. Trust me.
You are better off assigning the atomic parts and building up from there.
Example:
Database contains: Id, Group number, Category number, size, colour, date and other identifying information
Create another element in the Database to define the identifying number based on the sub-parts, ie: grp-cat-Id
Forcing an auto-incrementing number will cause havoc at some point. Auto-incrementing ID's are best left to the machine/software to deal with.
Comment/Reply (w/o sign-up)