Hi all,
In MS Access 2007 I've developed a form from a database. I have a unique identifier P000001 which I would like to auto-increment to P000002 and so forth. I've had a look around the forums and it seems there are no real straightforward answers.
If that's not possible, I would at least like to be able to use a Macro function that would search the text string and return the highest number in the unique identifier field, so that I do not have to click backwards or forwards between records to locate what the previous unique identifier was.
I assume there's a function which can search the string, separate the integers from the string, find the highest number, remember the number, and insert this value automatically into the field once a new blank record is created. The script will run whenever a new record is created.
How hard would that be?
In MS Access 2007 I've developed a form from a database. I have a unique identifier P000001 which I would like to auto-increment to P000002 and so forth. I've had a look around the forums and it seems there are no real straightforward answers.
If that's not possible, I would at least like to be able to use a Macro function that would search the text string and return the highest number in the unique identifier field, so that I do not have to click backwards or forwards between records to locate what the previous unique identifier was.
I assume there's a function which can search the string, separate the integers from the string, find the highest number, remember the number, and insert this value automatically into the field once a new blank record is created. The script will run whenever a new record is created.
How hard would that be?