(ACCESS 2013)
Hello,
I have code from another DB that works... But I'm making a new DB and instead of a subform I used the Tab Control.
I guess my question is... What is the path to my PAGE1
NEW DB DETAILS
Table: T_Customers
Form: F_Customers
Tab Control Name: Tabs
Page Names: Page1 & Page2
On the F_Customers form I have a tab control with two pages.. PAGE1 & PAGE2
Using the code below what is the proper path to my PAGE1 on my TAB CONTROL.
Code:
Private Sub Item_Click()
With CodeContextObject
If (IsNull(.ID)) Then
Exit Sub
End If
DoCmd.BrowseTo acForm, "PWD_Password_Form", "PWD_Main.PWD_Password_Form", "[ID]=" & .ID, "", 1
End With
End Sub
This is the line I need to change. This code was from the old DB
Code:
DoCmd.BrowseTo acForm, "PWD_Password_Form", "PWD_Main.PWD_Password_Form", "[ID]=" & .ID, "", 1