Jump to content
JasperReports Library 7.0 is now available ×

Grouping not working


Recommended Posts

By: pgshravan - pgshravan

Grouping not working

2005-11-24 21:17

I am trying to group a set of data according to a field, But the data is not being grouped. I have set the group expression for the field based on which i have to group. But, it is not working that way. Is there any other setting I have to do.

 

Please help.

 

 

By: Teodor Danciu - teodord

RE: Grouping not working

2005-11-25 00:23

 

Hi,

 

I'm not sure what the problem is in your case,

but note that the data should be already sorted

when you pass it to JR.

The engine does not sort it for you.

If you are using an SQL query in the report

template, then it should have an ORDER BY clase

that would match the group structure of the report.

 

I hope this helps.

Teodor

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