I have a report that I want to run from a double click off a list view. The message box shows the correct value when double clicking but when the report pops up it only goes to the first record. It does not go to the record I've that column(0) is assigned to.
Private Sub lstOne_DblClick(Cancel As Integer)
Dim strWhere As String
strWhere = Me.lstOne.Column(0)
DoCmd.OpenReport "rptMemberSummary", acViewPreview, , strWhere
MsgBox strWhere
End Sub
Thanks in advance for any help.
Private Sub lstOne_DblClick(Cancel As Integer)
Dim strWhere As String
strWhere = Me.lstOne.Column(0)
DoCmd.OpenReport "rptMemberSummary", acViewPreview, , strWhere
MsgBox strWhere
End Sub
Thanks in advance for any help.