Page 1 of 1

build connection string in the run time

Posted: Sat 17 Feb 2007 00:21
by rhwang46
If I use delphi's own AdoConnection component, I could use EditConnectionString(AdoConn) to let the user to build the connection string. But if I use the SDAC's connection component, then the same program could not be compiled. How do I achieve the same effect by using the SDAC's connection component

Posted: Mon 19 Feb 2007 08:40
by Jackson
You can't use the EditConnectionString function with SDAC because it is designed for working with ADO components only.

Posted: Mon 19 Feb 2007 09:44
by Jackson
You can use the TMSConnectDialog component to provide dialog for the user to enter a username, password and server name.