Page 1 of 1

Re: help for DBChart and MS SQL server DB

Posted: Sun Feb 03, 2008 11:37 pm
by 9243843
Hi,

I have read the tutorial section 8, but still not clear how to connect DBChart with a MS SQL server database.

Is it possible to point

(1) How to use DBChart with SQL server DB ?
(2) Or give a C++ builder example ? Thanks

daniel

Posted: Wed Feb 06, 2008 11:03 am
by yeray
Hi daniel,

You should connect your database to cbuilder using a component such as DatabaseSource. It should allow you to access to your database as a table and then you should be able to do queries or to connect it to a chart.

If you have this, what exactly problem do you have connecting them?
Can you see the datasource tables in teechart editor?

Posted: Thu Feb 07, 2008 2:27 am
by 9243843
I get it working ! Thanks.