I just needed some tips on writing a code for a main menu. Right now I have a main menu with a complete list of all records ordered by the product name, but when a specific record is double clicked, it opens the first record in the database rather than the one being clicked. What do I need to add to my code that would do the trick? Any suggestions are greatly appreciated, here is what I currently have on the main menu:
Private Sub List0_DblClick(Cancel As Integer)
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "realdeal"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
Thanks again.
Private Sub List0_DblClick(Cancel As Integer)
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "realdeal"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
Thanks again.