Hello,
I am wondering if anyone can help me out in opening up a form to a specific tab through vba.
Ive got a form with a product field. When i double click that field, it opens up another form with product details.
I use the following code on the field:
Private Sub ProductNum_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmStandardCostNewer", acNormal, , "[ProductNum]='" & Me![ProductNum] & "'"
End Sub
It works fine, only the form it opens has 3 tabs and i want to know if it is possible to open it up to the second tab of the form.
Any help would be appreciated.
Thanks,
BJF
I am wondering if anyone can help me out in opening up a form to a specific tab through vba.
Ive got a form with a product field. When i double click that field, it opens up another form with product details.
I use the following code on the field:
Private Sub ProductNum_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmStandardCostNewer", acNormal, , "[ProductNum]='" & Me![ProductNum] & "'"
End Sub
It works fine, only the form it opens has 3 tabs and i want to know if it is possible to open it up to the second tab of the form.
Any help would be appreciated.
Thanks,
BJF