How do I refresh an ODBC Datasource?

TeeChart for ActiveX, COM and ASP
Post Reply
Jarrid
Newbie
Newbie
Posts: 1
Joined: Mon Mar 29, 2004 5:00 am
Location: USA

How do I refresh an ODBC Datasource?

Post by Jarrid » Wed May 12, 2004 8:40 pm

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,

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu May 13, 2004 2:28 pm

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

Post Reply