Jump to content
We've recently updated our Privacy Statement, available here ×

modify query in java code


2004 IR Help

Recommended Posts

By: keiji77 - giuppe

modify query in java code

2004-11-18 03:41

Hi,

Is possible modify the query of ireport file (jasper or jrxml) with java code?how? I've tried with JasperDesign.setQuert(<JRQuery>) metod but i don understand how work and what is JRQuery object.

 

Thanks for all!!!

 

 

 

 

By: Giulio Toffoli - gt78

RE: modify query in java code

2004-11-19 07:04

 

Use a parameter to store the query the set as query in the report the parameter with this syntax:

 

$P!{MyQuery}

 

When you fill the report, you must set the value for parameter MyQuery.

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...