G
Guest
I have a tabbed form. From one tab i want to move to another tab where i have
a sub form which is also tabbed. I need to go to one of these tabs to do a
find record
I have tried
Dim ctl As Control
Set ctl = Forms![systemForm]![purchaseOrderSubForm]![ordersForm]
DoCmd.GoToControl ctl.name
but get the message - there is no field [ordersForm] in the current record
If I just use
Set ctl = Forms![systemForm]![purchaseOrderSubForm]
it is fine but I need to make sure that the correct tab is showing
Any suggestions please
a sub form which is also tabbed. I need to go to one of these tabs to do a
find record
I have tried
Dim ctl As Control
Set ctl = Forms![systemForm]![purchaseOrderSubForm]![ordersForm]
DoCmd.GoToControl ctl.name
but get the message - there is no field [ordersForm] in the current record
If I just use
Set ctl = Forms![systemForm]![purchaseOrderSubForm]
it is fine but I need to make sure that the correct tab is showing
Any suggestions please