Hello Guys,
The table has an ID number column which is an autonumber and the primary key. The form will be unbound. The database serves multiple users.
I have a column for a project number which follows someones elses logic (and another database) - being the year - a letter and then unique number with 5 digits - eg for this year - 2008X14578.
As people are familiar with this kind of ID I want to be able to give my users the ability to generate a similar ID number as well with the push of a button. Obviously the YEAR and the LETTER is not a problem.
The question is how to get the 5 digit number?
I thought maybe taking the next autonumber or somthing like that. If that is the best option is there a function to get this number or must I go to the last record and read this column value.
The table has an ID number column which is an autonumber and the primary key. The form will be unbound. The database serves multiple users.
I have a column for a project number which follows someones elses logic (and another database) - being the year - a letter and then unique number with 5 digits - eg for this year - 2008X14578.
As people are familiar with this kind of ID I want to be able to give my users the ability to generate a similar ID number as well with the push of a button. Obviously the YEAR and the LETTER is not a problem.
The question is how to get the 5 digit number?
I thought maybe taking the next autonumber or somthing like that. If that is the best option is there a function to get this number or must I go to the last record and read this column value.