G
Guest
I am trying to get a record to dispaly as a pop up from a subform embeded
into an 'overiew' form. Below is the code that I am using in the doubleclick
event of the subform.
Private Sub TipTitle_DblClick(Cancel As Integer)
DoCmd.OpenForm "Tip", , , "myPKField=" & Me.TipList.Form.TipNumber
End Sub
Where
TipList is the name of the subform embeded into the main form
TipNumber is the name of the field that contains my primary key
however I keep getting a 'Method or Data Memeber not found' on the subform
container (TipList)
What am I doing wrong?
into an 'overiew' form. Below is the code that I am using in the doubleclick
event of the subform.
Private Sub TipTitle_DblClick(Cancel As Integer)
DoCmd.OpenForm "Tip", , , "myPKField=" & Me.TipList.Form.TipNumber
End Sub
Where
TipList is the name of the subform embeded into the main form
TipNumber is the name of the field that contains my primary key
however I keep getting a 'Method or Data Memeber not found' on the subform
container (TipList)
What am I doing wrong?