rainman89
I cant find the any key..
- Local time
- Today, 08:11
- Joined
- Feb 12, 2007
- Messages
- 3,015
Hi all,
I have a query (qryCandD that returns a case if they have had a certain action performed on them. there is a form (frmCandD) with the query as its recordsource and on this i have a button that opens the mainform (frmCase) to the record that was returned from the query.
This main form has a tabctrl on it.
My question is how do i open the form to a certain tab, without setting it up in the on open event?
i want this to be done with the button on the frmCandD button, and thought i could do that using a
but i think this method has to be invoked in the form itself. and cant be done from an outside form.
am i wrong?
I have a query (qryCandD that returns a case if they have had a certain action performed on them. there is a form (frmCandD) with the query as its recordsource and on this i have a button that opens the mainform (frmCase) to the record that was returned from the query.
This main form has a tabctrl on it.
My question is how do i open the form to a certain tab, without setting it up in the on open event?
i want this to be done with the button on the frmCandD button, and thought i could do that using a
Code:
TabCtl.Pages(3).SetFocus
am i wrong?