I met with one problem and needs some suggestion on the best approach on it. It is a xml publisher report.
We have multiple rows for the same employee , but for the same employee only the first row needs to print the emplid.
Do we need to write the if statement , how to get the value of the last row emplid ?
If my understanding is correct, then you can make use of variables
at start of template set the variable to 0
at the end of each data row, reset the variable
while printing emplid in that row use IF condition
The above If condition will print emplid on the row only when there is change in EMPLID, so effectively printing emplid only on the 1st row of data for each employee id.
Also, you need to ensure that you group by employee id before you print each row.