alexpetri Posted December 29, 2007 Share Posted December 29, 2007 Hi have an xml file like this (this is delivered by an external partner): Code:<report> <row> <date>23.01.2006</date> <valueA>2345</valueA> </row> <row> <date>21.05.2007</date> <valueA>12345</valueA> </row> <row> <date>23.05.2007</date> <valueA>22345</valueA> </row><report>next thing is that i build a report about values and the date. then i wanted to group by month and year.so i build a varible with the following expression (monthYearGroup):Code:[code]new Integer(new String($F{date}.substring(6,10)+$F{date}.substring(3,5)))so i get the two groups:200601 and 200705.The pdf shows 2 groups but the groupheader (monthYearGroup) shows "null" at the first and then it shows "200601" - "200705" is never shown.Why does jpR show "null" at the first group?Did i miss something? Link to comment Share on other sites More sharing options...
lucianc Posted January 7, 2008 Share Posted January 7, 2008 If you display the variable in the group header, make sure you set evaluationTime="Group" and evaluationGroup="MyGroupName". HTH,Lucian 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