cancel
Showing results for 
Search instead for 
Did you mean: 

Passing parameters to Crystal Reports 2008; C#

Former Member
0 Kudos

Hi,

we are developing a .NET C# application and would like to call a Crystal Reports document (version 2008) from there passing some parameters.

So we will build the Crystal reports with the necessary parameters - however, how can I pass them from our C# application? The Crystal reports will be stored locally.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

First make sure you are on SP 3:

https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe

SP 3 msi

https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip

SP 3 msm

https://smpdl.sap-ag.de/~sapidp/012002523100007123582010E/cr2008sp3_mm.zip

Have a look at [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]

(The above does apply to your version of CR also)

Have a look at the samples:

https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples

And look at the Developer Help file:

http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm

And don't forget to use the search box at the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Searching these forums is also a good idea.

- Ludek

Former Member
0 Kudos

Thanks for the links! Does this parameter passing and refresh of the report against a Oracle database necessarily needs a BO or CR server?

saurabh_pathak
Active Contributor
0 Kudos

Hi,

You don't need them ( BO & CRS, I am assuming that you are using only CR.NET SDK)

, but make sure that you have appropriate runtimes installed on production machine.

Thanks,

Saurabh

Former Member
0 Kudos

Hi Saurabh,

do you maybe know which CR2008 runtimes I have to take - or do you have a link to more information?

Thanks!

saurabh_pathak
Active Contributor
0 Kudos

Hi,

This looks to be a new query. Please adhere to [Rules of Engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement].

Links to upgrading to SP3 are already provided by Ludek in the previous reply.

Thanks,

Saurabh

Answers (0)