Rowsource on Graph

K

Kahuna

Hi Folks

I have a report the RecSource for which is provided at OnOpen via an sql
string.

The report also has a small graph which needs to have a rowsource based on
the report RecSource.

I have

strLabProGraph = str"Select...."

Me![LabProGraph].RowSource = strLabProGraph

and this gives me an sql string. However this also errors as an 'Invalid
Reference to Rowsource'.

How can I reference this graph Rowsource, and do I need to build a separate
function to access it?

Cheers
 
Top