Understanding MS SQL connection

Forum related to MS SQL Server

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
cmatrix
Junior Boarder
Junior Boarder
Posts: 29
Joined: 20.10.2005, 21:43
Contact:

Understanding MS SQL connection

Post 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?
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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
Image
teo
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 23.11.2005, 21:14

Post 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.
Post Reply