Setting Authentication at runtime

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Guest

Setting Authentication at runtime

Post by Guest » Tue 30 Nov 2004 16:28

How can I set the authentication type at runtime?

If I have the code msconnection1.authentication := auserver I get the message "Undeclared identifier: auserver"

Thanks

John

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Re: Setting Authentication at runtime

Post by Ikar » Wed 01 Dec 2004 07:53

You need just add OLEDBAccess into uses.

Guest

Post by Guest » Thu 02 Dec 2004 11:17

That sorted it - Thanks

Post Reply