REFER TO ANOTHER FORMs CONTROLS FROM EVENT.....???
Hi
I have developed a form (MainForm), with a subform (ListForm) which contains a listbox displaying records
on the main form - is a button which launches another form (WzdForm). The WzdForm will hopefully provide the capability to re-query a list on the ListForm (subfrm) according to the user criteria.
On the event of the finish button being clicked on the WzdForm i have tried to develop some code that will requery the table on the MainForm.
I am having problems tring to refer to the controls on the subform - to set the focus and re-query..
i have tried using; forms!MainForm.ListForm!ListBox but the vb doesnt recogize or cnt find the objects
please help
Regards
Hi
I have developed a form (MainForm), with a subform (ListForm) which contains a listbox displaying records
on the main form - is a button which launches another form (WzdForm). The WzdForm will hopefully provide the capability to re-query a list on the ListForm (subfrm) according to the user criteria.
On the event of the finish button being clicked on the WzdForm i have tried to develop some code that will requery the table on the MainForm.
I am having problems tring to refer to the controls on the subform - to set the focus and re-query..
i have tried using; forms!MainForm.ListForm!ListBox but the vb doesnt recogize or cnt find the objects
please help
Regards