G
Guest
I need a way to requery a combo box on a subform when I click on the tab for
its page. The combo box needs to show new data that was entered on a previous
subform (previous page of the tab control.)
The combo box is called cboGFConsCd. It is populated via a query called
qryConstituency.
The subform containing cboGFConsCd is called fsubGift.
I've been unable to come up with a procedure that will requery the combo box
or refresh fsubGift when I click on the tab for their page. Right now, I'm
relying on a command button to refresh the form, but this is not desirable.
Can I use the OnClick event for the Page to accomplish what I want?
Also, do I need to reference the Master form that contains the tab control
when I create the event procedure?
Any suggestions would be appreciated.
Thanks
its page. The combo box needs to show new data that was entered on a previous
subform (previous page of the tab control.)
The combo box is called cboGFConsCd. It is populated via a query called
qryConstituency.
The subform containing cboGFConsCd is called fsubGift.
I've been unable to come up with a procedure that will requery the combo box
or refresh fsubGift when I click on the tab for their page. Right now, I'm
relying on a command button to refresh the form, but this is not desirable.
Can I use the OnClick event for the Page to accomplish what I want?
Also, do I need to reference the Master form that contains the tab control
when I create the event procedure?
Any suggestions would be appreciated.
Thanks