Page 1 of 1

Creating Appllication with MyDAC

Posted: Tue 01 Mar 2005 21:04
by yanqui
Hi all,

I want to create a simple application from MySQL Database. I install MyDAC into my C++ Builder 6.0. I have the toolbar. I add MyConnection, a MyQuery (with a SQL statement like select * from emp) and a DataSource object to my project.

Then, I will add a data control DBEdit and I will link it a a filed of my database (I'm able to see all database fields). Since there I don't have any problem.

The problem happen when I will run the application. No data will be displayed into the field.

If I add a DBNavigator object, when I run the program all buttons will be disabled.

Is somebody can helps me with that?

Best Regards,
Yanick

Posted: Wed 02 Mar 2005 09:04
by Ikar
Check a value of TMyConnection.Options.KeepDesignConnected. Must be True.