I've got an SQL command creating a new record in a table with the ID as an auto number. Is there a way of returning the ID number of the record just created?
I'd thought of the DLookup but didn't know how to get it to retrieve the ID of the record that had just been created. Is the DMax function to return the last value? Never heard of that one before?