P
Paul R
Can anyone help.
I wish to open a Report filter on a Membership number entry into a form.
I have a form with a control box in called "txt_membership_number" the user
types in a membership number that they wish a report on. I would like to
pass this number into the report?
here is the code:
Dim stDocName As String ' name of report
Dim txtMemNo As Integer '
txtMemNo = Me.txt_membership_number
DoCmd.OpenReport stDocName, acPreview, , [Original_Member_Number] =
txtMemNo
Many Thanks
Paul
I wish to open a Report filter on a Membership number entry into a form.
I have a form with a control box in called "txt_membership_number" the user
types in a membership number that they wish a report on. I would like to
pass this number into the report?
here is the code:
Dim stDocName As String ' name of report
Dim txtMemNo As Integer '
txtMemNo = Me.txt_membership_number
DoCmd.OpenReport stDocName, acPreview, , [Original_Member_Number] =
txtMemNo
Many Thanks
Paul