S
Stefan
I am trying to open a report from a form filtering it with
the fromdate and dateto fields. I have this line of code
DoCmd.OpenReport stDocName, acViewPreview, , "[qry Average
# Patient Visits]![Date From] Between Me![FromDate] and Me!
[DateTo]"
I get a msgbox asking for parameters for [date from]. The
first part of the where clause is the qry the report is
based on and the field I am filtering.
I am a newbie to vba and appreciate the help
the fromdate and dateto fields. I have this line of code
DoCmd.OpenReport stDocName, acViewPreview, , "[qry Average
# Patient Visits]![Date From] Between Me![FromDate] and Me!
[DateTo]"
I get a msgbox asking for parameters for [date from]. The
first part of the where clause is the qry the report is
based on and the field I am filtering.
I am a newbie to vba and appreciate the help