Invalid reference to RowSource
In a report called Sales by Category i have an embedded
chart with the follwoing properties:
OLE Class Microsoft Graph 97 Chart
OLE Type embeded
Class MSGraph.Chart.8
Name SalesChart
In the OnOpen event of the event i give the RowSource property
of the chart called SalesChart with the following code:
Reports![Sales by Category]![SalesChart].RowSource =
“QrySalesbyCategory”
However i receive the following error :
You entered an expression that has an invalid reference to the
property RowSource.
What is most interesting, my function works with Forms but not
with Reports.Can anyone help me? What I want is to use different
Queries as the RowSource of my charts in Reports,but i cannot succeed.