dondilbert
Technical User
I've got a form that has the basic information i.e. firstname, surname, email address for creating a new contact. This form works fine and checks that the data endered isn't duplicated in the database. Once this form has been filled the data is squirted into the main contacts form, at which point i wish to open this form at the record that was just created, so that the rest of the contact details can be filled in. my problem lies with the fact that the second form is based on a querry sorted by the contacts name so I can't simply goto last record as this returns the person with the last surname. How do I goto the last record created or last id in the contacts table as the primary key is an autonumber?