I am trying to add a mschrt20.ocx control to a form. All seems to work well except updateing the control with data. The documentation in help (VB) shows simply:
1) putting the data in an array
2) set the chartdata property to the array as in: mschart1.chartdata= aMyData
When I do this I get an ole error: Bad Function Argument
Earlier versions of the msgraph/mschart required storing the chart in a general field and updating the chart data from there. Is this still required or is there a more direct way as per the VB documentation ?
Thanks
John Campbell
John Campbell