Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Exception when using formulas referencing fields from a table with an alias

$
0
0

Hi,

 

I have come accross a serious issue with the Java Crystal Report Viewer in Eclipse which if I cannot resolve will mean the end of this commercial project.

 

If you add a table with an alias (e.g linking the same table more than once) then use a reference to this table (with an alias) name in a formula field you get the following error:

 

Exception in formula '@Exam_Organisation}' at '{TBLADDRESSEXAM.ORGANIZATION}': This field name is not known.

 

I have replicated this issue using a very simple report and have isoloated the fault to what is described above. If this is known issue (e.g. we can't work around it), then do you know if I would get the same fault if I moved to a .NET framework?

 

Example of a formula can be as simple as:

{TBLADDRESSEXAM.ORGANIZATION}

 

(Where TBLADDRESSEXAM is an alias to the TBLADDRESS table).

 

It works correclty in the full version of Crystal Reports 2008, and also within the Crystal Reports 2008 developer within Eclipse, it is just when you run it through the viewer.

 

I am running the report using the auto-generated code in the JSP on an Oracle 10g database using the Eclipse Crystal Reports plug-in (latest version).

 

Any help would be serious appreciated?

 

I cannot change the table structures, and if I was to have to add a series of views to remove the need for me to use alias names then this will delay the project 6 months as this is a large commercial product and it will need to go through a change request.

 

 

Kind Regards

 

 

Matthew


Viewing all articles
Browse latest Browse all 893

Trending Articles