DerekMcDonald
Technical User
I have a main form and a subform based on two separate tables with a one-to-one relationship. If my data entry person wants to create a new main record or move to the next main record while the focus is on the subform, the subform record advances and she gets the inevitable "duplicate value" error message for the primary key.
Is there an easy way to trap creation of a new record and/ or movement and set focus to the first field on the main form in this situation? I can do this if someone tries to tab to the next record in the subform, but not if they use the Access "new record" button or navigation buttons.
Thanks! [sig][/sig]