I have created a subform that displays a list of invoices for the client the subform relates to. Each entry shows either the date the invoice was paid or the text UNPAID in a field. In the footer of the subform I have a counter for the number of invoices displayed and the sum of all invoices. This is working perfectly using the following formulae (Field name given first):
InvCount: =count([AccRef])
TotInvoiced: =sum([Amount])
I would like to add another field showing the sum of unpaid invoices. I created a new field with the following formula:
TotUnpaid: =Sum([Amount] And [PaidDate]="UNPAID")
This is not working. Can somebody please tell me what I am doing wrong?
InvCount: =count([AccRef])
TotInvoiced: =sum([Amount])
I would like to add another field showing the sum of unpaid invoices. I created a new field with the following formula:
TotUnpaid: =Sum([Amount] And [PaidDate]="UNPAID")
This is not working. Can somebody please tell me what I am doing wrong?