patricktully Posted September 21, 2011 Report Share Posted September 21, 2011 Hello, I am using ChartFX 6.2 COM version. I have a chart in which I dynamically assign an ADO recordset to the the chart's DataSourceADO property. However, after doing some data processing, sometimes I have to assign a different recordset to the DataSourceADO property. When I do this, I get the error "Method DataSourceADO failed for _Chart". Can someone tell me the best way to assign a recordset after I have already assigned a first one? By this I mean that I want the chart to start using the second recordset instead of the first recordset. Thanks, Patrick Quote Link to comment Share on other sites More sharing options...
patricktully Posted September 22, 2011 Author Report Share Posted September 22, 2011 Since I couldn't find the true answer to this problem, I created the following workaround: I created a second chart and assigned the second ADO recordset equal to the chart's DataSourceADO property. I then had logic in my code that decided which chart should be visible and which one should not. If anyone has a better workaround or the answer to the original question, please feel free to post it. Thanks, Patrick Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.