Page 1 of 1

unexpected login at design time when project opened

Posted: Wed 27 Apr 2005 05:34
by easyblue
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.

Posted: Thu 28 Apr 2005 08:33
by Ikar
We couldn't reproduce the problem.
Please send us complete small sample to demonstrate it and include script to create server objects.

Posted: Fri 29 Apr 2005 04:04
by easyblue
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

Posted: Fri 29 Apr 2005 08:20
by Ikar
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.