Change Number Of Series On A Chart

TimTDP

Registered User.
Local time
Today, 15:27
Joined
Oct 24, 2008
Messages
213
Last problem and then I am done with this project!
It has come out superbly, and I must thank all that have assisted me.

I use a table as the row source for my chart.

If I add extra fields to the table, how do I get the new fields to automatically display as new series on the chart?

I have tried:
DoCmd.OpenReport ReportName, acViewDesign
Reports!rptGraph.graph0.RowSource = "tblData"

and

With Rpt(graph0)
.RowSource = "tblData"
.ColumnCount = 4
End With

but these don't work!
 
I think that I need to add each series using vba:
.SeriesCollection(i).Add

but I can't get it to work!
 

Users who are viewing this thread

Back
Top Bottom