Jump to content
JasperReports Library 7.0 is now available ×

SQL Query String


2006 IR Open Dicussion

Recommended Posts

By: Ricardo Pires - ricapires

SQL Query String

2006-03-27 08:40

Hello,

 

does anyone knows if it is possible to get the query string defined on the "Report SQL Query"?

 

i ask this because i wanted to do something and i am not sure how i can go it.

 

i have a query that return rows, and imagine that the rows values are:

 

1,Row1, 1

2,Row2, 1

3,Row3, 4

4,Row4, 1

 

what i wanted to know is that if there is any way i can treat the detail seccion output, because given the query result above, i wanted to return this:

 

1,Row1, 1

2,Row2, 1

3,Row3, 1

3,Row3, 1

3,Row3, 1

3,Row3, 1

4,Row4, 1

 

i was thinking on trying to pass the query result into a java method that would treat the query result and then return it into jasper.

 

thanks for any help

 

 

 

 

By: missioncoder - missioncoder

RE: SQL Query String

2006-03-31 08:53

Have you tried using a sub-report within the report?

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