cancel
Showing results for 
Search instead for 
Did you mean: 

Diffent result in CR Developer and CR4Eclipse when using "Custom Functions"

Former Member
0 Kudos

Hello!

Our customer create reports with CR Developer Version 11.0.0.1282 (CR XI) on Windows Environment.

In this reports "Custom Functions" with Basic Syntax are used.

We are creating an application with using CR4Eclipse (11.8.7.1483 in MANIFEST.MF/Version in JAR Files)

on Unix Aix 5.3., Java: Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20080122 (SR10)

--> makes the follwing steps:

- reportClientDoc.open ...

- ..

- paramFieldController.setCurrentValue ...with values

- Export to pdf

For the connection to the database we are using jdbc. (ojdbc14.jar, ojdbc14_g.jar) (Oracle Database)

In some cases we get different results using the reports native from Windows Enviroment and under CR4Eclipse on Unix, when we are using "Custom Functions" with Basic Syntax

The differences are (Naitive Call is always ok, but in CR4E 😞

- Different result from "Custom Functions" (for example: Dupplication of charater in result of function)

or

- The report did not return after statement

... reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);

Is it not posible to use "Custom Function" with Basic Syntax under CR4E?

Or are there differences in initalization/definition of variables. (String / Number Fields in BASIC-Syntax)

I hope you can give me an idea for solve this problem.

In case you need more information please tell me.

Regards Rainer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I would suggest you to upgrade to CR XI R1 or R2

CR4E has backword compatibilty i.e. only supports CR XI R1(11.5) and CR XI R2(11.8)

Regards,

Tej

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Crystal Reports for Eclipse v2.0 includes several SDKs and provides support SDKs for following previous versions:

- Crystal Reports Java SDK (12.0)

- Viewers Java SDK (12.0)

- Crystal Reports Designer Extension Points SDK (12.0)

- Java Reporting Component SDK (11.8)

- Java Reporting Component SDK (11.5)

Thanks,

Neeraj

Former Member
0 Kudos

Problem solved.

With using new Java Version

java version "1.5.0"

Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20071025a (SR6b))

IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20071007 (JIT enabled)

Regards Rainer