K
Kevin via AccessMonster.com
I have a form “frmReportPanel” where the user can pick a fromdate and todate.
Then when the user click on the report, the report should reflect the date
range.
I got the detail data on the report to match the parameter date range picked
from the report
panel, But the "fromdate" and "todate" fields at the top of my report do not
match the parameters on the report panel. I'm using the fromdate" and
"todate" fields at the top of my report (in the report header section) to let
the User know he has the correct date range.
How do I get the fromdate" and "todate" fields at the top of my report to
match the parameters picked on the report panel form??
Here’s my SQL:
SELECT DISTINCTROW qryResolution.TrackingNo, qryResolution.CompanyName,
qryResolution.CustomerNo, qryResolution.TempName, qryResolution.JobOrder,
qryResolution.[WE-Date], qryResolution.AssignedDate, qryResolution.AssignedTo,
qryResolution.Reportedby, qryResolution.ReportedDate, qryResolution.WorkFlow,
qryResolution.Status, qryResolution.[Issue-ActionNotes], tblParm.FromDate,
tblParm.ToDate, tblParm.AssignTo, qryResolution.IssueType
FROM qryResolution, tblParm
WHERE (((qryResolution.JobOrder) Is Not Null) AND ((qryResolution.
AssignedDate) Between [FromDate] And [ToDate]) AND ((qryResolution.AssignedTo)
=[Forms]![frmReportPanel]![AssignTo]));
Thanks,
Kevin
Then when the user click on the report, the report should reflect the date
range.
I got the detail data on the report to match the parameter date range picked
from the report
panel, But the "fromdate" and "todate" fields at the top of my report do not
match the parameters on the report panel. I'm using the fromdate" and
"todate" fields at the top of my report (in the report header section) to let
the User know he has the correct date range.
How do I get the fromdate" and "todate" fields at the top of my report to
match the parameters picked on the report panel form??
Here’s my SQL:
SELECT DISTINCTROW qryResolution.TrackingNo, qryResolution.CompanyName,
qryResolution.CustomerNo, qryResolution.TempName, qryResolution.JobOrder,
qryResolution.[WE-Date], qryResolution.AssignedDate, qryResolution.AssignedTo,
qryResolution.Reportedby, qryResolution.ReportedDate, qryResolution.WorkFlow,
qryResolution.Status, qryResolution.[Issue-ActionNotes], tblParm.FromDate,
tblParm.ToDate, tblParm.AssignTo, qryResolution.IssueType
FROM qryResolution, tblParm
WHERE (((qryResolution.JobOrder) Is Not Null) AND ((qryResolution.
AssignedDate) Between [FromDate] And [ToDate]) AND ((qryResolution.AssignedTo)
=[Forms]![frmReportPanel]![AssignTo]));
Thanks,
Kevin