I am trying to add a new record (unique ID) from a UserForm in Access. I have SQL code to Select the Last ID in the table, but even this did not work. It seemed to just grab the first ID. Is there a way, so that when I click the Combobox on the Userform a new unique Id is generated based on the last table value (without adding that value to the table).
SELECT Last(IDNumber) AS Expr1
FROM tbID;
Thanks much.