You have in your report expressions containing $F(VendorName) and $V(VendorColumn). The correct syntax is $F{VendorName} and $V{VendorColumn}.

Read this http://jasperreports.sourceforge.net/tutorial/index.html#expressions


Regards,
Lucian

Meenakshi Singh wrote:

I am sorry I didn't understand. Would you please elaborate?

Thank you,
Meenakshi.

-----Original Message-----
From: Lucian Chirita [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 6:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [jasperreports-questions] Crosstab Report


Hi

The JR expression field/variable reference syntax is $F{..} and $V{..},
not $F(..) and $V(..)

HTH,
Lucian

Meenakshi Singh wrote:

Hi all,

I am designing a crosstab report wherein the column head have the vendor
names & row heads have the part names & the crosstab cells have the qty
column. I am getting the error shown below. Would anybody suggest what
could
be the reason for the error.

I am attaching my .jrxml file for your review.
Please help.

Thanks & Regards,
Meenakshi


JasperReports encountered this error :
net.sf.jasperreports.engine.JRException: Errors were encountered when
compiling report expressions class file:
1. VendorName cannot be resolved
              value = (java.lang.String)($F(VendorName));
                                            <-------->
2. VendorName cannot be resolved
              value = (java.lang.String)($F(VendorName));
                                            <-------->
3. VendorName cannot be resolved
              value = (java.lang.String)($F(VendorName));
                                            <-------->
3 errors
1. VendorColumn cannot be resolved
              value = (java.lang.String)($V(VendorColumn));
                                            <---------->
1 errors

        at
net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstr
a
ctCompiler.java:164)
        at
net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaul
t
Compiler.java:131)
        at
net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(Jasper
C
ompileManager.java:127)
        at
net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(Jasper
C
ompileManager.java:86)
        at servlets.CompileServlet.service(CompileServlet.java:81)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServl
e
tInstance.java:110)
        at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifec
y
cleServlet






-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
jasperreports-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to