
Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
How then, can I synchronize the report graph's recordsource with the report's
recordsource?
> > I have a report with a report graph whose recordset is the same query
> > that the report is based on.
[quoted text clipped - 5 lines]
>
> Because the WHERE clause applied to the report has nothing to do with the chart.
Penguin - 19 Jan 2005 06:28 GMT
Try setting the RowSource on the reports OnOpen or insert this code in
the OnClick of a button on a form:
DoCmd.OpenReport "YourReportName", acViewDesign
Reports!YourReportName!YourGraph.RowSource = "QueryName" or "SQL"
DoCmd.Close acReport, "YourReportName", acSaveYes
DoCmd.OpenReport "YourReportName", acViewPreview
Hope this helps.
>How then, can I synchronize the report graph's recordsource with the report's
>recordsource?
[quoted text clipped - 8 lines]
>>
>> Because the WHERE clause applied to the report has nothing to do with the chart.