A
AlCamp
I'm using Access97 with MSGraph 2000 to develop a report with a graph.
Using the OnOpen event of the report, I'd like to change the SQL statement
for
the RowSource of the Graph, according to user entered values on a dialog
form that calls the report.
example...
If Forms!frmInspectionReportsDialog!AverageOrSum2 = 1 Then
Me.DefectsGraph.RowSource = "SELECT tblDefectTypes.DefectID.... etc etc."
I get "You entered an expression that has an invalid reference to the
property RowSource"
Arrgghh! There's no way to manipulate the RowSource of a graph?
Say it ain't so...
Thanks for any help...
Al Camp
Using the OnOpen event of the report, I'd like to change the SQL statement
for
the RowSource of the Graph, according to user entered values on a dialog
form that calls the report.
example...
If Forms!frmInspectionReportsDialog!AverageOrSum2 = 1 Then
Me.DefectsGraph.RowSource = "SELECT tblDefectTypes.DefectID.... etc etc."
I get "You entered an expression that has an invalid reference to the
property RowSource"
Arrgghh! There's no way to manipulate the RowSource of a graph?
Say it ain't so...
Thanks for any help...
Al Camp