O
Opal
I am trying to create a chart in Access 2003 that will allow
the user to enter the parameters from a form for what
details they want to see. The query is as follows:
SELECT Count(Problem.ProblemID) AS CountOfProblemID,
Problem.ProblemDate, Problem.ShopID, Problem.DeptID, Problem.ZoneID,
Status.Status
FROM Status INNER JOIN Problem ON Status.StatusID=Problem.StatusID
GROUP BY Problem.ProblemDate, Problem.ShopID, Problem.DeptID,
Problem.ZoneID, Status.Status
HAVING (((Problem.ProblemDate) Between Forms!frmSearchrpts!
txtStartDate And Forms!frmSearchrpts!txtEndDate) And
((Problem.ShopID)=Forms!frmSearchrpts!cboFilter1) And
((Problem.DeptID)=Forms!frmSearchrpts!cboSearchDept) And
((Problem.ZoneID)=Forms!frmSearchrpts!cboZone));
And works fine. When the user selects the command button to view the
chart I ensure that the frmSearchrpts! visible property is false so
that it
is not closed.
However, when I try to open the report, from this form, it is blank. I
cannot
figure out why....can anyone offer any advice?
the user to enter the parameters from a form for what
details they want to see. The query is as follows:
SELECT Count(Problem.ProblemID) AS CountOfProblemID,
Problem.ProblemDate, Problem.ShopID, Problem.DeptID, Problem.ZoneID,
Status.Status
FROM Status INNER JOIN Problem ON Status.StatusID=Problem.StatusID
GROUP BY Problem.ProblemDate, Problem.ShopID, Problem.DeptID,
Problem.ZoneID, Status.Status
HAVING (((Problem.ProblemDate) Between Forms!frmSearchrpts!
txtStartDate And Forms!frmSearchrpts!txtEndDate) And
((Problem.ShopID)=Forms!frmSearchrpts!cboFilter1) And
((Problem.DeptID)=Forms!frmSearchrpts!cboSearchDept) And
((Problem.ZoneID)=Forms!frmSearchrpts!cboZone));
And works fine. When the user selects the command button to view the
chart I ensure that the frmSearchrpts! visible property is false so
that it
is not closed.
However, when I try to open the report, from this form, it is blank. I
cannot
figure out why....can anyone offer any advice?