Finding the stored procedure that a Crystal Report is using

Posted by Brandon on Stack Overflow See other posts from Stack Overflow or by Brandon
Published on 2010-03-25T17:37:52Z Indexed on 2010/03/25 20:53 UTC
Read the original article Hit count: 406

I need to retrieve the name of the stored procedure that a crystal report is running. Is there any way to do this in C# using the CrystalDecisions.CrystalReports.Engine.ReportDocument object?

I can't seem to find a property that will give me the stored procedure name.

Is this even possible? I've been through almost all the properties I can think of. The DataDefinition object has collections for the Formula, Parameter, Group Name, and Running Total Fields, but not one for the Database Fields.

© Stack Overflow or respective owner

Related posts about c#

Related posts about crystal-reports