on 10-20-2008 4:23 PM
Hello,
How do you pass database logon information Hello
crystal Viewer How do you pass then of database in logon information ?
I have more database and i want pass the name of database in dbLogonInfo
Regards
Michel
The report file (rpt) stores some database information so all you have to do is pass the database logon credentials in ConnectionInfo object. Do you want to change the DB at runtime and then view the report? Then you should use use RAS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michel,
You can look at some of the sample code on the "Code and Samples" link.
This should be on the bottom of the left pane of this forum.
If you cannot find the link, you can also use the following:
[https://www.sdn.sap.com/irj/sdn/businessobjects-samples?rid=/webcontent/uuid/e02e0a54-6471-2b10-c99c-d66e07fab102]
I recommend you look at the "Report Application Server SDK Sample Code":
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10a5bc2e-2b81-2b10-38b8-b30c152c0929]
If you are new to the SDK, I highly recommend that you go through the documentation found on the DevLibrary:
[http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
Please note that settings the properties is not the difficult part.
The difficult part is determining what properties to set and what values to set it with.
One trick is to create a report with the exact database logon information that you want to use and then use the SDK to extract the information.
Once you have the information on what properties are being set and with what value, then it is a simple matter to setting them.
Hope this helps.
Regards,
Dan
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.