Creating Appllication with MyDAC

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
yanqui
Posts: 5
Joined: Tue 01 Mar 2005 20:46
Location: Quebec, Canada

Creating Appllication with MyDAC

Post by yanqui » Tue 01 Mar 2005 21:04

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

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Wed 02 Mar 2005 09:04

Check a value of TMyConnection.Options.KeepDesignConnected. Must be True.

Post Reply