lynn_victoria
New member
- Local time
- Today, 22:31
- Joined
- Feb 16, 2002
- Messages
- 9
I have an aggregate query that is running a report.
Access 2000
WinXP Pro
I have these fields in my report:
registrationfee
paymentamount
I want to total the registrationfees which i did like this:
=Sum([RegistrationFee])
I want to total the paymentamounts which I did like this:
=Sum(Nz([SumOfPaymentAmount],0))
I then want a TotalBalanceDue which I did like this:
=Sum(Nz([SumOfPaymentAmount]-[RegistrationFee],0))
However, the TotalBalanceDue field shows all balances including zero (or paid) and I would like to know if I can use VBA to filter the TotalBalanceDue field for <>0 at the Report level. Which would leave me with people i need to bill (>0) AND people I need to refund (<0)
If so, How?
Thanks
Victoria
Access 2000
WinXP Pro
I have these fields in my report:
registrationfee
paymentamount
I want to total the registrationfees which i did like this:
=Sum([RegistrationFee])
I want to total the paymentamounts which I did like this:
=Sum(Nz([SumOfPaymentAmount],0))
I then want a TotalBalanceDue which I did like this:
=Sum(Nz([SumOfPaymentAmount]-[RegistrationFee],0))
However, the TotalBalanceDue field shows all balances including zero (or paid) and I would like to know if I can use VBA to filter the TotalBalanceDue field for <>0 at the Report level. Which would leave me with people i need to bill (>0) AND people I need to refund (<0)
If so, How?
Thanks
Victoria