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.
			
									
									
						Undeclared identifier : 'prDirect'
Re: Undeclared identifier : 'prDirect'
Hello,
You should also add the MSClasses module to the Uses section.
			
									
									
						You should also add the MSClasses module to the Uses section.