G
GT
I have a table called "data" with fields TIME and LEVEL.
I generate a report "levels" of LEVEL against TIME grouped by day and week.
The query I use is like this...
SELECT data.TIME, data.LEVEL
FROM data
WHERE (((DateValue([data]![TIME]))>=DateValue([From_Date]) And
(DateValue([data]![TIME]))<=DateValue([To_Date])))
ORDER BY data.TIME;
You can see that it will ask for the "From_Time" and "To_Time" and the data
is generated.
On the report, I group the data so that only the data from one week occupy
the page.
Now I also have a graph in the TIME footer that is supposed to show the data
listed in the report for the week.
If I choose the row source for the graph to be the query shown above, the
graph shows the correct data, however it asks for the "From_Time" and
"To_Time" whenever the graph pops up on the screen or is printed.
I need toask for"From_Time" and "To_Time" for the report as a whole, but the
graph needs to get its row source without having to ask. How do I make the
graph select its data from what is shown on the report?
I generate a report "levels" of LEVEL against TIME grouped by day and week.
The query I use is like this...
SELECT data.TIME, data.LEVEL
FROM data
WHERE (((DateValue([data]![TIME]))>=DateValue([From_Date]) And
(DateValue([data]![TIME]))<=DateValue([To_Date])))
ORDER BY data.TIME;
You can see that it will ask for the "From_Time" and "To_Time" and the data
is generated.
On the report, I group the data so that only the data from one week occupy
the page.
Now I also have a graph in the TIME footer that is supposed to show the data
listed in the report for the week.
If I choose the row source for the graph to be the query shown above, the
graph shows the correct data, however it asks for the "From_Time" and
"To_Time" whenever the graph pops up on the screen or is printed.
I need toask for"From_Time" and "To_Time" for the report as a whole, but the
graph needs to get its row source without having to ask. How do I make the
graph select its data from what is shown on the report?