unexpected login at design time when project opened

unexpected login at design time when project opened

Postby easyblue » Wed 27 Apr 2005 05:34

Hello

After upgrade to build 19, at the opening an old project in C++Builder, a login dialog of MyConnection appears, asking for your Mysql username, password and hostname, while the "Connected" property of the TMyConnection is "false".
This dialog also appears if set "embedded" to true.

Please remove this unexpected login at design time.
easyblue
 
Posts: 64
Joined: Wed 02 Feb 2005 13:02
Location: Shanghai

Postby Ikar » Thu 28 Apr 2005 08:33

We couldn't reproduce the problem.
Please send us complete small sample to demonstrate it and include script to create server objects.
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Postby easyblue » Fri 29 Apr 2005 04:04

Hello

The problem seems to be linked with case that you have a CRDBGrid linked to a TMyTable, the table name is fixed while connection is not active.

Please try the following way:

Drop a TMyConnection, TMyTable, TDataSource and TCRDBGrid, connect to an existing database through TMyConnection, choose one table in TMyTable, show this table in the CRDBGrid.

Set the connected=false--> the grid will show nothing.

Save the project, and open the project again, then you will have this error.

I am using C++B6
easyblue
 
Posts: 64
Joined: Wed 02 Feb 2005 13:02
Location: Shanghai

Postby Ikar » Fri 29 Apr 2005 08:20

Thank you for information.
We reproduced your problem and fixed it. This fix will be included in the next MyDAC build. It will be available in nearest time.
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56


Return to MySQL Data Access Components