Skip to Content
author's profile photo Former Member
Former Member

Crystal Reports 2008 report running against Oracle or SQL Server database


I have a Crystal Reports 2008 report that I would like to run against SQL Server or Oracle. Ideally I want to be able to just support the one report and let end-users run against either database. The report uses a command with valid sql that can run against both Oracle and SQL Server.

Is it possible to use the same report for both databases?

Is there any way to launch the report and have the report use some external configuration data allowing it to connect to either a SQL Server or Oracle database?

Thanks in advance for any help


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 05:09 PM

    Your best bet would be to use a dynamic connection in a business view, as that will prompt the user with a choice of databases they want to connect to.

    The other option is to have a "container" report as the main and have two subreports each connected to a different databse and have a parameter do variable suppression

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.