sulalith Posted April 6, 2007 Share Posted April 6, 2007 Hi: I want to group by two fields instead of one field like below <group name="Group" ><groupExpression><![CDATA[$F{firstName}]]</groupExpression> Can I write a groupExpression as.. <groupExpression><![CDATA[$F{firstName} AND $F{gender}]]</groupExpression> Sulalith Link to comment Share on other sites More sharing options...
mcoddington Posted April 13, 2007 Share Posted April 13, 2007 If I understand correctly, having two subsequent groups should accomplish the same effect: <groupExpression><![CDATA[$F{firstName}]]</groupExpression>--leave this group empty-- <groupExpression><![CDATA[$F{gender}]]</groupExpression>--show data in second group-- This will put all equal firstNames together and then within lists of the same firstName, entries will be grouped by gender. Mike Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now