kxchong647 Posted October 12, 2015 Posted October 12, 2015 Hi All, hope you guys can give me some solution for scenario belowPayment_ID Payment_Amount Invoice_ID Amount_AppliedA $1000 INV-2015-01 $980A $1000 INV-2015-02 $20How can I hide one of the payment_id and payment_amount in ireport if the payment_id is same but applied to 2 different invoice ?
hozawa Posted October 12, 2015 Posted October 12, 2015 I'm not sure about iReport but Jaspersoft Studio has "Don't Print Repeated Values" checkbox. Just have to check on that.
kxchong647 Posted October 13, 2015 Author Posted October 13, 2015 Ireport have too but its not the correct way, once uncheck the print repeated values other payment with $1000 with hide as well
sanbez Posted October 19, 2015 Posted October 19, 2015 You can use variable which contain previous value of $F{Payment_ID} and set print when expression for detail section if previous value equal current.Now I don't remember way to save previous value, but it exist in answers. You can find it.
kkumlien Posted October 19, 2015 Posted October 19, 2015 @kxchong647 If the other payment is also not printed it there might be other rows with $1000 before that? What version of iReport are you using?
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