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.
unexpected login at design time when project opened
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
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