Hey everyone, thanks for taking the time.
I am trying to avoid using a sum to solve this problem I have, because later on I need to summarize my formula.
What I have right now is a invoice totals and the payments to that invoice. But the invoices are paid gradually. So in my report I am faced with something like this:
INV# INV Total PMT
001 1,600 800
001 1,600 800
The payments are for the same invoice so they have paid off the entire invoice. But I need a way to subtract both payments from the one invoice total. I cannot sum the pmts because I need to summarize a formula I am using later. So basically I need a formula that is the invoice total (1600) - the payments (800 + 800) just to get the 0.
Aswell not all invoices are paid like this, some are paid off in one payment so I just cannot divide my invoice total by a number.
I am using crystal reports 2008.
Thanks!
I am trying to avoid using a sum to solve this problem I have, because later on I need to summarize my formula.
What I have right now is a invoice totals and the payments to that invoice. But the invoices are paid gradually. So in my report I am faced with something like this:
INV# INV Total PMT
001 1,600 800
001 1,600 800
The payments are for the same invoice so they have paid off the entire invoice. But I need a way to subtract both payments from the one invoice total. I cannot sum the pmts because I need to summarize a formula I am using later. So basically I need a formula that is the invoice total (1600) - the payments (800 + 800) just to get the 0.
Aswell not all invoices are paid like this, some are paid off in one payment so I just cannot divide my invoice total by a number.
I am using crystal reports 2008.
Thanks!