R
Richard
Hi
I am trying to change the recordsource of a report in the onopen event.
A part of the code is below, I am trying to process only the records from
today onwards, It works in the query but it shows all records when the
report is opened.
Thanks in advance for your help
Richard
Me.Report.RecordSource = "SELECT ......... " & _
"WHERE (((Enrolments.WORKSHOPDATE)>= " & Date & ") AND
((Enrolments.Cancelled)=False)) " & _
"ORDER BY Enrolments.WORKSHOPDATE DESC;"
I am trying to change the recordsource of a report in the onopen event.
A part of the code is below, I am trying to process only the records from
today onwards, It works in the query but it shows all records when the
report is opened.
Thanks in advance for your help
Richard
Me.Report.RecordSource = "SELECT ......... " & _
"WHERE (((Enrolments.WORKSHOPDATE)>= " & Date & ") AND
((Enrolments.Cancelled)=False)) " & _
"ORDER BY Enrolments.WORKSHOPDATE DESC;"