Hi All,
I have a simple expression builder problem. I am using Access 2010 and would like to automatically create a unique primary key entry as a result of some data entered into the table.
Basicly, I am using the expression builder to create a primary key in the format of:
AAA00001
where AAA is the selection of text I want from the expression builder and then the 00001 is automatically incremented from the last entry to create a truly unique entry.
For example, from the data of:
First Name: Billy
Last Name: Bob
The entry should take the first 2 letters of the first name and first letter of the last name (BIB) and then add it to the incremented number.
So, it should end up like: BIB00001
My problem is that I cannot work out how to create this in the expression builder. I do not think there is any other option to create this type of entry as I am using Access 2010 to create a web database.
I have a simple expression builder problem. I am using Access 2010 and would like to automatically create a unique primary key entry as a result of some data entered into the table.
Basicly, I am using the expression builder to create a primary key in the format of:
AAA00001
where AAA is the selection of text I want from the expression builder and then the 00001 is automatically incremented from the last entry to create a truly unique entry.
For example, from the data of:
First Name: Billy
Last Name: Bob
The entry should take the first 2 letters of the first name and first letter of the last name (BIB) and then add it to the incremented number.
So, it should end up like: BIB00001
My problem is that I cannot work out how to create this in the expression builder. I do not think there is any other option to create this type of entry as I am using Access 2010 to create a web database.