TMSConnection.Database not changeable in d2009 IDE

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 296
Joined: Thu 12 Oct 2006 09:34

TMSConnection.Database not changeable in d2009 IDE

Post by Ludek » Thu 26 Mar 2009 09:56

I have a TMSConnection component on a datamodule, with server and database filled. now i want to change it to an other server/database. i can set the new server without any problems, but i cannot then change the property database - I get again and again a message, that the database does not exists (which is true - the database really does not exist on the newly selected server, but each attempt to change it to some valid database is aborted and the message shown)
so the only one way to change the database is in the text editor of the dfm file.
please, don't check the database existence at each key press in the database field.

Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 26 Mar 2009 12:14

To change the Database property in design-time you can clear it and after that set it the correct value.

Post Reply