I would like to open a patients file form from a listbox. I have tried several things. The best I can acheive is opening the form with a blank record. Here's my code on the dbl click event of the list box:
Private Sub List45_DblClick(Cancel As Integer)
Dim strCriteria As String
strCriteria = "[QME/AME Information]![lastname]=[Forms]![QME/AME Information]![lastname]"
DoCmd.OpenForm "QME/AME Information", acNormal, , strCriteria
End Sub
Private Sub List45_DblClick(Cancel As Integer)
Dim strCriteria As String
strCriteria = "[QME/AME Information]![lastname]=[Forms]![QME/AME Information]![lastname]"
DoCmd.OpenForm "QME/AME Information", acNormal, , strCriteria
End Sub