I have two textboxes as follows:
txtDuesYearFee
ControlSource:
AND
txtBalance
ControlSource:
So the first is looking up the DuesYearFee, and the second is calculating balance based on the DuesYearFee and the AmountPaid by the member.
This is a continuous form.
I would like to place a textbox in the Form Footer to Sum([txtBalance]), but it does not work.
My guess is because it is trying to calculate calculated information (maybe happening at the same time).
How would this be done?
Thanks. Sean.
txtDuesYearFee
ControlSource:
Code:
=IIf(Nz([cboDuesYearID],"")="","",DLookUp("[DuesYearFee]","Tbl_DuesYearFee","[DuesYearID] = " & [cboDuesYearID]))
AND
txtBalance
ControlSource:
Code:
=IIf(NZ([txtAmountPaid],"")="","",[txtAmountPaid]-[txtDuesYearFee])
So the first is looking up the DuesYearFee, and the second is calculating balance based on the DuesYearFee and the AmountPaid by the member.
This is a continuous form.
I would like to place a textbox in the Form Footer to Sum([txtBalance]), but it does not work.
My guess is because it is trying to calculate calculated information (maybe happening at the same time).
How would this be done?
Thanks. Sean.