I have report that contains a chart on it. What I need to do is make this chart completely customizable, thats part not so bad I have pretty much gotten most of that done. What I need some help is how do I change the RowSource of the chart through VBA???
I have it setup now that it will dynamicaly create a string that I am using as a UNION query, this seems to work fine. THe problem I have is that it won't let me change the RowSource of my Chart to this string.
I tried this:
Me!Chart.RowSourceType = "Table/Query"
Me!Chart.RowSource = ChartSQL
Chart -> the name of my object
ChartSQl-> the string that contains the UNION query
Any help would be greatly appreciated
FYI: I am using Acc97
Thanks
I have it setup now that it will dynamicaly create a string that I am using as a UNION query, this seems to work fine. THe problem I have is that it won't let me change the RowSource of my Chart to this string.
I tried this:
Me!Chart.RowSourceType = "Table/Query"
Me!Chart.RowSource = ChartSQL
Chart -> the name of my object
ChartSQl-> the string that contains the UNION query
Any help would be greatly appreciated
FYI: I am using Acc97
Thanks