I am using a linked table and have created a create new record button but discovered that the linked table has an important secondary reference number field(userid) similar to the primary key(id) but isn't the primary. The userid field is sequential to the last record but gaps appear where records have been deleted.
I need to generate a sequential number based off the last userid in the table when the add record button is activated.
Note: this is not the Primary Key field.
Also I can only handle basic code.
Hope someone can help.
Cheers
I need to generate a sequential number based off the last userid in the table when the add record button is activated.
Note: this is not the Primary Key field.
Also I can only handle basic code.
Hope someone can help.
Cheers