cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use CRAXDRT to add a new field object in CR 11.5?

Former Member
0 Kudos

Hello,

I'm using Crystal Reports 11 Release 2,

to deploy the application I add three merge modules to my Installshield project:

CR115_rdc_reportengine

CR115_rdc_runtime

CR115_rdc_license

this msm's includes CRAXDRT.dll and I want to use this component to add a new field to the rpt,

here's a code example:

CRAXDRT.Application app = new CRAXDRT.Application();

CRAXDRT.Report rep = new CRAXDRT.Report();

rep = app.OpenReport("Report1.rpt", 1);

rep.Sections[1].AddFieldObject("{Table1.column1}", 100, 100);

rep.Save("Report1.rpt");

It's OK to distribute this to my client PC's, where there's no Crystal Reports developer installation?

bye, thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Adding a field is considered Report Creation API. You have to use the craxDDrt.dll for RCAPIs. And craxDDrt.dll requires extra licensing that you should discuss with sales before proceeding with using these. Sales contact info: 866-681-3435.

BTW.; you may be able to get by without using RCAPIs by inserting a formula into the report (using the CR designer), then populating the formula with the field you want to use. You have no runtime control over where the formula will be (e.g.; it is where it is when added in the designer), but perhaps this will do.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Answers (1)

Answers (1)

0 Kudos

Moved to Legacy SDk forum