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

Visual Studio 2010 Crystal Reports 2011 Hardcoded package names

Hi. We are in the process of upgrading our software to Crystal Reports 2011, Oracle 11 and Visual Studio 2010. We have a small Visual C# application that opens up various Crystal reports. Some of the individual reports contain 20 to 25 subreports. The main report and every subreport returns a cursor from a stored procedure. Each stored procedure is housed in a different package. Everything works fine, but I dont really like that we have to hardcode the names of the packages that contain each stored procedure (for every report and subreport we use).

CrTable.Location = strTableOwner.ToUpper() + ".PACKAGE_NAME." + CrTable.Location;

Hardcoding the package name seems prone to errors. Is there a way around this so the Visual C# application can determine the name of the package that contains the stored procedure?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Nov 09, 2011 at 08:36 PM

    Hi,

    Currently, there is no .Net SDK available with Crystal Reports 2011.

    Migrate the report to [Crystal Reoprts for Visual Studio 2010|Crystal Reports for Visual Studio 2010 Production Release Now AvailableCystlR%2528SAPWeblogs%253ACrystal+Reports%2529]

    Thanks,

    Bhushan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2011 at 09:08 PM

    We use Crystal Reports 2011 to builld the reports but we do have Crystal Reports for Visual Studio 2010 installed so we can integrate the reports into Visual Studio.

    It's no big deal if we have to hardcode the package names - but i thought there might be a cleaner way of doing this.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2011 at 09:41 PM

    Thanks Bhushan.

    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.