how to set the rowsource for a chart using viusal basic code?

G

ge liu

Hi,

Could anyone tell me how to set the rowsource for a chart
in an access report using visual basic code?

I used this type of code:

me.controls("graph3").rowsource="select Jan03, Feb03,
Mar03 from sales_table"

But this does not work. The access does not recognize
rowsource as a properties for my chart "graph3",
eventhough it is listed in the property box. Could anyone
tell me how to solve this?

Thanks

Ge
 

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