Hello:
I want to preview a report in a Delphi 7 program that connects to a SQL database. The database can use SQL or Windows Authentication.
If SQL Authentication my program do:
MyReportComponent.Connect.Server:=myServer;
MyReportComponent.Connect.UserId:=myUserId;
MyReportComponent.Connect.Password:=myPassword;
MyReportComponent.Connect.Database:=myDatabase;
MyReportComponent.Execute;
and everything works fine.
But if the server is using Windows Authentication there is no property in Connect to indicate it, and if I assign the UserId and Password in blank the report doesn't connect to the database!
Any Clue?
Thanks in advance!