Hi,
I have the following SQL which is used to populate an Access 2000 report.
I would like to use the 2 date parameters within my report title e.g. "Cancellations for the period - [date1] to [date2]" but i've no idea how to do it.
Is this possible and if so, how?
Thanks in advance.
Leigh Moore
Solutions 4 MS Office Ltd
I have the following SQL which is used to populate an Access 2000 report.
Code:
SELECT CR.ReasonID, CR.Reason, COUNT(C.BookingID) AS [No of Cancellations]
FROM ((tblCancellation AS C INNER JOIN tblCancelationReason AS CR ON C.ReasonID=CR.ReasonID) INNER JOIN tblCourseBooking AS CB ON C.BookingID=CB.BookingID) INNER JOIN tblScheduledCourse AS SC ON CB.SchCourseID=SC.SchCourseID
WHERE SC.StartDate BETWEEN [Enter FROM date - dd/mm/yyyy] AND [Enter TO date - dd/mm/yyyy]
GROUP BY CR.ReasonID, CR.Reason
ORDER BY CR.ReasonID;
I would like to use the 2 date parameters within my report title e.g. "Cancellations for the period - [date1] to [date2]" but i've no idea how to do it.
Is this possible and if so, how?
Thanks in advance.
Leigh Moore
Solutions 4 MS Office Ltd