Setting the Row Source in code for a Graph Report

B

Blondie

I have a single graph report that I need to change the Row Source depending
on the number of customers present in the table. If there is only one
customer, the report has to be slightly different. I have tried to enter the
code in the Report Open and it runs, but doesn't seem to actually change the
data in the graph. I went to the help and it said to type Me!Recordsouce,
which returns and error stating it can't find the field Recordsource. I
tried to use Me!Graph.Recordsource and then Me!Graph.RowSource, not working.
HELP!!!!!!!
 
Top