Page 1 of 1
Understanding MS SQL connection
Posted: 04.08.2009, 22:00
by cmatrix
Please indicate if my understanding is correct. The mssql protocol cannot be used with MS SQL 2005 and above. For MS SQL 2005 and up you need to use ado protocol. If so, how can I have the Data Link Properties dialog pop-up during run-time when a user selects the ado protocol from my options screen?
Posted: 08.08.2009, 07:15
by mdaems
Hi,
I think your understanding is correct. But I have no idea how you can launch this settings screen. I suppose you could check how this dialog is launched from the Windows menu's and do the same call from your program.
Someone did this before?
Mark
Posted: 02.10.2009, 07:59
by teo
Yes. Zeoslib did. It's simply in one of the units of the zeoslib distribution..
there is a routine called PromptDatasource in \src\dbc\ZDbcAdoUtils.pas wich will bring up the dialog.