Jump to content
JasperReports Library 7.0 is now available ×

SQL statement into parameter???


2004 IR Help

Recommended Posts

By: jlsoft - jlsoftspain

SQL statement into parameter???

2005-09-14 05:31

Hi!!

 

I?m newbie in Jasper Reports and I have a question for you:

can i send SQL statement as parameter to jrxml and then, into jrxml add next code:

 

<queryString>

<![CDATA[ $P{QUERYPARAMETER} ]]>

</queryString>

 

??

I try it but and error occured.

 

Thanks in advanced

 

 

 

 

By: macoute3 - macoute3

RE: SQL statement into parameter???

2005-09-14 05:44

$P is just for a simple parameter.

For complex expression, use $P!{QUERYPARAMETER}

 

 

 

 

By: jlsoft - jlsoftspain

RE: SQL statement into parameter???

2005-09-15 01:29

Thanks very much, macoute3!

 

I will write more in this forum, it?s great!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...