Undeclared identifier : 'prDirect'

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Zool1080
Posts: 5
Joined: Tue 04 Feb 2014 22:52

Undeclared identifier : 'prDirect'

Post by Zool1080 » Sun 03 Apr 2016 09:40

Hello,
what unit should i add to avoid the error "Undeclared identifier : 'prDirect' "
MSConnection1.Options.Provider := prDirect;
MSConnection1.Authentication := auServer;
MSAccess is in my uses list .
Thanks,
ahmed.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Undeclared identifier : 'prDirect'

Post by AlexP » Mon 04 Apr 2016 09:03

Hello,

You should also add the MSClasses module to the Uses section.

Post Reply