Hi,
Thank you for the suggestion of using OpenArgs. I lake the experience of using the OpenArgs option; I did some reading about it.
The form has a command button to open the report;
Step 1:
I should define the string that will be used as the OpenArgs which is fraDates on the form.
What should I write here?
Step 2:
I should have some lines on the report Open event to PASS the OpenArgs Value.
Code:
Dim strArgs As Integer
strArgs = FormName!OpenArgs
I not certain if I have the correct lines.
Step 3:
Use the command to open the report:
Code:
DoCmd.OpenReport "rptMemberBorrowedBooks", acViewPreview, , mstrWHERE1, , OpenArgs
Khalil