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.


Average rating: