Change RowSource in a graph

B

bperez

Hi!

I want to change the rowSource property of a Graph in MS Access 2000
in the event Report_open, so it change to show diferent data. Th
problem is than I get a "2255 error"
the reference is not valid. the code I use is:

dim obj as Object
set obj = me!mygr
obj.rowSource= "select...."
obj.refresh
set obj = nothing

Does anyone know what is the problem? Is it possible to chang
dinamically the rowsource property of a Chart?

Thank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top