Make ADO connection string at runtime

How to use ADO connection string dialog in your application

Udocumented, can be found in ADODB.

NewConnectionString := PromptDataSource (0, CurrentConnectString);

NewConnectionString and CurrentConnectString are strings.
You can leave CurrentConnectString blank or replace with '',
if you pass it the dialog will show up with current configuration.

 

Share this article!

Follow us!

Find more helpful articles: