daschrislydon
New member
- Local time
- Today, 06:10
- Joined
- Mar 5, 2017
- Messages
- 7
Hello
This seems like such an obvious thing, and maybe I'm missing something terribly easy, but how do I get this behaviour:
I have a form whose recordsource is a sorted query (so the PK field autonumber of a new record isn't the last record in the recordset)
When I add a new record, and push the Record Selector to save, the form takes me to the last record of the recordset... rather than staying on the newly entered record.
How do I get it to stay on the newly entered record?
I've tried various things in BeforeUpdate and AfterInsert but can't quite seem to crack it.
There are suggestions of RecordsetClone and Bookmark being the solution but I couldn't get anything to work...
Thanks for your help!
Chris
This seems like such an obvious thing, and maybe I'm missing something terribly easy, but how do I get this behaviour:
I have a form whose recordsource is a sorted query (so the PK field autonumber of a new record isn't the last record in the recordset)
When I add a new record, and push the Record Selector to save, the form takes me to the last record of the recordset... rather than staying on the newly entered record.
How do I get it to stay on the newly entered record?
I've tried various things in BeforeUpdate and AfterInsert but can't quite seem to crack it.
There are suggestions of RecordsetClone and Bookmark being the solution but I couldn't get anything to work...
Thanks for your help!
Chris