Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in Report using a Chart filtered with RowSource

Status
Not open for further replies.

lblanco

Programmer
Sep 30, 2003
1
MX
HI!
I'a tring to use the rowsource in the open event of the report like:
me.GraphObject.rowsource = "TRANSFORM Avg(Query1.AvgOfMargin) AS AvgOfAvgOfMargin SELECT..."
But when I open the report it sends the error: "You entered an expression that has an invalida reference to the property RowSouce

Any idea???
 
I don't think there is a way to set the row source of a graph in the on open event (or any other event) of a report. If your RowSource is a saved query, you might be able to change the SQL of the saved query which is similar but more likely to succeed.

Duane
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top