I have an Assignments Table (tblAssignment) that I need to have incremental numbering on a field so that each record has a unique number. However the numbering is alpha-numeric:
YYYY-xxx-0000
where YYYY = the current year (4-digits);
and xxx is 3-alpha-characters limited to a select list;
and 0000 is the incremental number up to 9999 (we will never have more than 9999 of any of these based upon the alpha characters)
For example: 2002-COI-0145; 2002-COI-0146; 2002-PAI-0145
I would like to have the 3-alpha-characters be selected from a combo box (?) limited to the list.
?Is this feasible?, and if so how?
?Also, can I use this as my primary key?, and if so how should I set this up?
Thanks.(-:
YYYY-xxx-0000
where YYYY = the current year (4-digits);
and xxx is 3-alpha-characters limited to a select list;
and 0000 is the incremental number up to 9999 (we will never have more than 9999 of any of these based upon the alpha characters)
For example: 2002-COI-0145; 2002-COI-0146; 2002-PAI-0145
I would like to have the 3-alpha-characters be selected from a combo box (?) limited to the list.
?Is this feasible?, and if so how?
?Also, can I use this as my primary key?, and if so how should I set this up?
Thanks.(-: