Trembowiecki
Member
Hi,
here's the thing: I want to use a repeating group for a timetable of installments. So in my form I have a field where you input amount of installments and then such amount of repeats appears below. Now is the tricky part: I use calc element in repeating group that devides the main amount of money by number of installments. The problem is - when I sum these installments, it nearly never gives the initial amount of money. You know - you have $10 and when you have 3 installments, you'll never gonna get these $10 with this method.
So I thought that maybe there is a way to program calc to make it devide the debt by amount of installments minus one and make the last iteration of calc use other method - substraction of the installments minus one from the initial amount of money, so the last installment would be slightly different, but would make the overall timetable correct.
Here's the question: is there a way to tell callc to behave differently on the last repetition of the group? If so - how?
Cheers,
Olek
here's the thing: I want to use a repeating group for a timetable of installments. So in my form I have a field where you input amount of installments and then such amount of repeats appears below. Now is the tricky part: I use calc element in repeating group that devides the main amount of money by number of installments. The problem is - when I sum these installments, it nearly never gives the initial amount of money. You know - you have $10 and when you have 3 installments, you'll never gonna get these $10 with this method.
So I thought that maybe there is a way to program calc to make it devide the debt by amount of installments minus one and make the last iteration of calc use other method - substraction of the installments minus one from the initial amount of money, so the last installment would be slightly different, but would make the overall timetable correct.
Here's the question: is there a way to tell callc to behave differently on the last repetition of the group? If so - how?
Cheers,
Olek