on 05-17-2011 9:28 PM
From what I have found, I use SetConnection on the primary report and SetLogin an any sub reports. What is the difference between these 2 methods?
Thanks,
How come I don't have to use SetLogin on the primary report but I do on the sub reports? Do I have to use SetLogin on the sub reports if I used SetConnection on the primary report? If I do need to use SetLogin on sub reports, can I do that setting useIntegratedSecurity to true?
Can a report have more than 1 datasource and if so, can one use integrated security while the other does not?
And how do you set connection without specifying the server or database name? If you just want to use the ones specified in the report?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Welcome you post on the forum.
SetConnection will allow you to connect to the database. While SetLogin must have an active connection in advance.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.