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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RowSource Madness - Property doesn't exist??

Status
Not open for further replies.

Jucius

Technical User
Aug 9, 2002
25
CA
(I posted this in some other section here, but I think that this is a more appropriate part of the forum)

I am attempting to use VBA to change the RowSource property on a chart in a report.

The code is like this:
Code:
Private Sub Report_Open(Cancel As Integer) 

Me.[ChartOLEUnbound].[RowSource] = "Select ... "

End Sub

I am 100% sure that the SQL code is correct and I have tested it in other queries.

The program complains that there is no such property as RowSource, but it does exist -- it can be easily modified through the property menu!

The error: Runtime error '2455' - You entered an expression that has an invalid reference to the property RowSource. The property may not exist or may not apply to the object your specified.

How do I use RowSource in VBA?
 
I've tried Recordsource and RowSource and neither of them worked ... any more ideas?
 
I need help on this too. It works in forms but it doesn't seem to work in reports!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top