Hi All,
I am using a query form to get the criteria to run my report. I want the report for a certain date. My syntax is :
DoCmd.OpenReport "rptIssue", acViewPreview, , "[Date_ Raised] = " & Forms![IssueReportSearch]![Text5]
where [Text5] is the unbounded field to hold the date.
I find that it does not retrieve the information that I wanted. Could IT BE A DATE formating issue. It works for the literials i.e. DoCmd.OpenReport "rptIssue", acViewPreview, , "[Date_ Raised] = #1/18/2002#"
What am I doing wrong?
I am using a query form to get the criteria to run my report. I want the report for a certain date. My syntax is :
DoCmd.OpenReport "rptIssue", acViewPreview, , "[Date_ Raised] = " & Forms![IssueReportSearch]![Text5]
where [Text5] is the unbounded field to hold the date.
I find that it does not retrieve the information that I wanted. Could IT BE A DATE formating issue. It works for the literials i.e. DoCmd.OpenReport "rptIssue", acViewPreview, , "[Date_ Raised] = #1/18/2002#"
What am I doing wrong?