Hi,
I'm developing a VB6 application which generates reports from stored procedures. I succeeded to connect to the database by using the SetlogOnInfo with the necessary parameters.
Report.database.tables(1).SetLogOnInfo <server>,<database>,<username>,<password>
For testing purposes, this is ok, but at runtime, the users need to connect to the database using a trusted connection.
I'm using Crystal Reports 8.5, a SQL Server 2000 database and the application has to run on Windows 2000 machines.
Is there any way to connect to the database with a trusted connection? I tried to do this by leaving out the username and password on the SetLogOnInfo but then I'm getting an error "Server is not yet opened"... or something like that.
Any help would be greatly appreciated!
TIA
Bart
I'm developing a VB6 application which generates reports from stored procedures. I succeeded to connect to the database by using the SetlogOnInfo with the necessary parameters.
Report.database.tables(1).SetLogOnInfo <server>,<database>,<username>,<password>
For testing purposes, this is ok, but at runtime, the users need to connect to the database using a trusted connection.
I'm using Crystal Reports 8.5, a SQL Server 2000 database and the application has to run on Windows 2000 machines.
Is there any way to connect to the database with a trusted connection? I tried to do this by leaving out the username and password on the SetLogOnInfo but then I'm getting an error "Server is not yet opened"... or something like that.
Any help would be greatly appreciated!
TIA
Bart