I have a subform which is bound to a query which will display records using an ID# supplied from a listbox in the parent form.
That same subform is also used to create new records using the following code in a "New Record" commandbutton:
Both functions work fine. However, if I have a selected record displayed, and I click the "New Record" button, it does not move to a new record. It just stays on the selected record and any edits I make affect that selected record.
Any help you can provide is appreciated!
That same subform is also used to create new records using the following code in a "New Record" commandbutton:
Code:
DoCmd.GoToRecord , , acNewRec
Any help you can provide is appreciated!
Comment