Page 1 of 1

How do I refresh an ODBC Datasource?

Posted: Wed May 12, 2004 8:40 pm
by 9081920
In the ODBC Charting example... in VB6

I created a button with this code:
TChart1.Series(0).CheckDataSource

But, the chart does not refresh the data.
What do I need to do?

Thanks,

Posted: Thu May 13, 2004 2:28 pm
by Pep
Hi Jarrid,

the only way I can see to refresh the data from ODBC is reasigning the DataSource by code :

Code: Select all

TChart1.Series(0).DataSource = "DSN=TeeChart Pro Database; TABLE=Employee"
TChart1.Series(0).CheckDataSource