Moving to first record on form via code

HI, I have a form where filters are set and records are placed into the underlying table via code. the funny thing is that the records seem to scroll off the screen and place the last entry at the top row. This confuses the user as they often think they have only one record. I have tried setting the first / last properties of the form, but this doesn’t seem to work. Is is possible to simulate a goto first record via code ? Bruce

Maybe you can try something like Record.FIND(’-’) after the form has been processed. Maybe I am wrong, but your form is definitely behaving a weird way.

Try this : IF YouRecord.FIND(’-’) THEN;