The Artima Developer Community
Sponsored Link

Java Answers Forum
Help with jasper reports

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Rolandpish

Posts: 1
Nickname: rolandpish
Registered: Mar, 2004

Help with jasper reports Posted: Mar 28, 2004 7:55 PM
Reply to this message Reply
Advertisement
hi, i am working with jasperreports 0.5.2 and i have a report where
i pass the queryString as a parameter.
In the xml file i have something like this:

<queryString><![CDATA[$P{sqlQuery}]]></queryString>

a nd that never worked, someone told me to use this instead:

<queryString><![CDATA[$P!{sqlQuery}]]></queryString> ;

the change is the exclamation point ! after the $P

could someone tell me why the exclamation point is neccesary in the sqlString?
when i pass other parameters (not a queryString) i use $P without an exclamation point and it works well!

thanks in advance

Topic: HELP! Runtime.getRuntime().exec("java Test") Previous Topic   Next Topic Topic: convert an int to a byte array

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use