My FormA is a continuous form for records in a Table1. Not all fields are shown. FormB is a Single Form view of the same table, with all fields displayed.
I want the user to be able to click a button in FormA to add a record, but I don't want the record added in the COntinuous form. I want to open FormB and set off FormB's AddRecord command button's click event which will force the user to enter all required fields.
The FormB button code in a Private Sub procedure is simply
A button click in FormA opens FormB. How can I call the FormB AddRecord button's click event while still in the FormA procedure?
Thanks for any help.
I want the user to be able to click a button in FormA to add a record, but I don't want the record added in the COntinuous form. I want to open FormB and set off FormB's AddRecord command button's click event which will force the user to enter all required fields.
The FormB button code in a Private Sub procedure is simply
Code:
DoCmd.GoToRecord , , acNewRec
A button click in FormA opens FormB. How can I call the FormB AddRecord button's click event while still in the FormA procedure?
Thanks for any help.