Crystal Reports Database Connection Precedence
Posted on 2013-01-02
Can anybody help me understand database connectivity precedence in Crystal Reports as well as Crystal Reports Server? I think I have too much information.
We are migrating from one SQL database to another and I need to move all the reports from VCU to VCUdm.
My questions are below -
1 - Under Set Datasource Location in Crystal Reports, there is an option for 'Use DSN default properties' that can be set to True or False. Is this referring to the Datasource Name on my local machine? If I change the ODBC connection to VCUdm will all references to VCU in the actual report be overridden by the DSN defaults? If the report is run on the server, does it default to the server DSN defaults?
2 - I have all the reports and report instances in the CMS using a custom database logon (so I don't need to enter the password each time I revise the report on the server). Do I need to update all the instances created with VCU to VCUdm or does the instance use the defaults from it's parent report (can I just change the report)?
3 - The ODBC connection is used on my local machine when I run reports locally. When is the ODBC connection used on the server that houses the CMS? Is it used when the reports are run through the CMS? Do I need to make sure both connections use VCUdm?
4 - I have some reports pulling across full tables and some reports pulling from a SQL command. Do I need to update my SQL command to say 'Use VCUdm' at the top as well as update the table datasource locations to say 'Catalog: VCUdm'?
Please see the attached PDF for a sample of one of my reports as seen through 'Set Datasource Location'.
I would appreciate any and all assistance - this really has me confused!!