[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 425
  • Last Modified:

C# .NET crystal reports

I'm wondering if its possible to do the following. I have a .NET C# project that will export an ,rtp file to PDF. The crystal report uses a stored procedure as its dataset. I would like to know if its possible for me to somehow extract the stored procedure name from the .rpt?

Thanks you!
0
jessieBoo
Asked:
jessieBoo
  • 4
  • 4
1 Solution
 
mlmccCommented:
I believe it is since there are tools that can produce a cross reference for a report.

I don't know how to do it.

What are you trying to do with it?

You can export the report to report definition format and you should be able to find it it that file.

mlmcc
0
 
jessieBooAuthor Commented:
Yes, I know that method. I washoping there was another way via Crystal Decision object to get dataset definition. I know can get the report name etc from it just need the right method.
0
 
mlmccCommented:
There may be I just don't know what it is.

mlmcc
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
jessieBooAuthor Commented:
You have not recommended any solution and in the meantime I have found a soutin on my own.
0
 
mlmccCommented:
Would you care to post the solution so others could benefit?

mlmcc
0
 
jessieBooAuthor Commented:
Sure ...
                ReportDocument cryRpt;
                cryRpt = new ReportDocument();
                cryRpt.Load("c:\somereport.rpt");

                // returns the usp in the .rpt
                cryRpt.Database.Tables[0].Location.ToString();
0
 
mlmccCommented:
Please change this to accept the askers last comment as the solution
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_26981883.html?cid=1572#a35490731

mlmcc
0
 
jessieBooAuthor Commented:
Have no idea how to do that
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now