T
Tony Williams
I have a database that holds records of documents. I have a table called
tblCommittees that is linked to a table tblDocuments by a field Docnbrtxt. I
have used Autonumber in both tables to create the table index. Access wont
let me create another Autonumber field. I want to allocate a sequential
reference number called CommDocNbrtxt in tblCommittee each time a record in
tblDocuments is created for that committee. The number will include a
sequential number and the year from a field DateCreatedtxt and will be 1.03
and 2.03 and 3.03 and so on for 2003 but at the start of 2004 the number
should revert back to 1.04 and 2.04 and so on.
I suspect that I will need to achieve this with VBA code but it is beyond my
level of knowledge. can anyone help?
TIA
Tony
tblCommittees that is linked to a table tblDocuments by a field Docnbrtxt. I
have used Autonumber in both tables to create the table index. Access wont
let me create another Autonumber field. I want to allocate a sequential
reference number called CommDocNbrtxt in tblCommittee each time a record in
tblDocuments is created for that committee. The number will include a
sequential number and the year from a field DateCreatedtxt and will be 1.03
and 2.03 and 3.03 and so on for 2003 but at the start of 2004 the number
should revert back to 1.04 and 2.04 and so on.
I suspect that I will need to achieve this with VBA code but it is beyond my
level of knowledge. can anyone help?
TIA
Tony