I have a table with an autonumber/unique identifier. From a form I query the table of that number and it populates the form with the details of the record from the table. I added a next record command button to the form. "on click" I built a macro that uses gotocontrol to go to the autonumber field in the form. Then in the macro it uses the gotorecord next-1. This works fine. The problem is when I search for a record that is not the first record in the table, for example 3280 the next command button does not work. I want it to go to 3281. I get an error message that says: you can't go to the specified record, you could be at the end of the record set. but I am not. any ideas? any work arounds?