I have a from that has a list box in it. But when I click on a line in the list nothing happens:
The form name that has the list in it is: frmListByDate
The list Name in that form is: Book_List
The Form I want to go to is: frm_C_BookByDateAllFields
Record Id is: C_BookID (caption is BookID)
Here is the code I am using. (I got it from another thread in this forum but I don't remember where)
Private Sub BOOK_LIST_Click()
DoCmd.OpenForm "frm_C_BookByDateAllFields", , , "C_BookID = " & Me.BOOK_LIST
End Sub
When I click on a record in the list the line is highlighted but nothing else happens.
Any idea what I can do to make this work?
Any help will be greatly appreciated.
Dave