G
Guest
I have a list box that uses the first name and last name fields. The first
name is displayed in the list box and the last name is hidden. The plan is
that when I click on the name in the list box and click the "show record"
button, it opens up the form to that record so that I may see all the other
data associated with that name.
When I click on the name in the list box and click the "Show Record" button,
I get the error message " Compile Error: Method or data member not found"
Here is my code:
Private Sub ShowRecord_Click()
DoCmd.OpenForm "Tour Book", , , _
"[First_Name.Last_Name]=" & "'" & Me.lstSearch.Column(0) & "'"
End Sub
Thanks A Lot!
name is displayed in the list box and the last name is hidden. The plan is
that when I click on the name in the list box and click the "show record"
button, it opens up the form to that record so that I may see all the other
data associated with that name.
When I click on the name in the list box and click the "Show Record" button,
I get the error message " Compile Error: Method or data member not found"
Here is my code:
Private Sub ShowRecord_Click()
DoCmd.OpenForm "Tour Book", , , _
"[First_Name.Last_Name]=" & "'" & Me.lstSearch.Column(0) & "'"
End Sub
Thanks A Lot!