I have a delete button that selects all related records in a subform and deletes them. This works fine.
I then want to move back to the main form and delete the main record.
I have tried:
Forms![Main Form].[Field].setfocus
Me.Parent!Field.SetFocus
The commands are ignored. What is the correct syntax??
I then want to move back to the main form and delete the main record.
I have tried:
Forms![Main Form].[Field].setfocus
Me.Parent!Field.SetFocus
The commands are ignored. What is the correct syntax??