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

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

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 12, 2010 at 02:15 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 12, 2010 at 01:58 PM

    Moved to Legacy SDk forum

    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.