I am creating a report with a graph. I have a query that the graph is supposed to use for its Record Source.When I go into datasheet mode and view the query results it asks me for the values of the text boxes and I get the correct data. Nothing unusual there. However when I run the report I get nothing and I think it's because the graph is not being able to get the values of the textboxes. How would I reference that?
(It is a query that pulls from another query.)
Ex.
Original query:
Graph Row Source:
Just so there's no confusion, label20 is also a textbox. I converted it from a label to a textbox. If anyone has any ideas I would be very grateful. Thanks in advance.
(It is a query that pulls from another query.)
Ex.
Original query:
Code:
SELECT Count(PerMonInput.Cancelled_Cases) AS CountOfCancelled_Cases, PerMonInput.Date
FROM PerMonInput
GROUP BY PerMonInput.Date, PerMonInput.Cancelled_Cases
HAVING (((PerMonInput.Cancelled_Cases)="Yes"));
Graph Row Source:
Code:
SELECT Count(*) AS [Count] FROM CancelledCasesDR WHERE (((CancelledCasesDR.Date)>=[text20] And (CancelledCasesDR.Date)<=[label20]));
Just so there's no confusion, label20 is also a textbox. I converted it from a label to a textbox. If anyone has any ideas I would be very grateful. Thanks in advance.