Hi,
I have a form with data about customers and a subform with their phones (1 to many, customerID is included in phones table).
Main form's AllowAdditions property is set to false.
In order to add a new customer there's an add button which "onclick" event has this code:
Me.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec
The problem is that when I click, the subform simply disappears, so I can't type any data in.
I'm really stuck so I hope someone can help me. Thanks
I have a form with data about customers and a subform with their phones (1 to many, customerID is included in phones table).
Main form's AllowAdditions property is set to false.
In order to add a new customer there's an add button which "onclick" event has this code:
Me.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec
The problem is that when I click, the subform simply disappears, so I can't type any data in.
I'm really stuck so I hope someone can help me. Thanks