It has been a long time (15years) since I have done anything with VBA coding and I need some help with the wording.
I have a Client Information Form that I would like to have an Account balance that update when you load that client. I have three different tables that have information to be calculated: Beginning July Balances, Charges, and Payment_Adjustments.
Here are the formulas that I need to use (I think they are correct):
TotalFTCharge: DSum("FTFee*FTDaysCharged","Charges","FamilyID=" & [Client Info]![FamilyID])
TotalPTCharge: DSum("PTFee*PTDaysCharges","Charges","FamilyID=" & [Client Info]![FamilyID])
TotalCharges: [TotalFTCharge]+[TotalPTCharge]
TotalPayments: DSum("Amount","Payment_Adjustment","FamilyID=" & [Client Info]![FamilyID])
ClientBalance: [BeginningJulyBalance]![BeginningBalance]]+[TotalCharges]-[TotalPayments]
If someone could point me in the right direction on my next steps I would be forever grateful.
I have a Client Information Form that I would like to have an Account balance that update when you load that client. I have three different tables that have information to be calculated: Beginning July Balances, Charges, and Payment_Adjustments.
Here are the formulas that I need to use (I think they are correct):
TotalFTCharge: DSum("FTFee*FTDaysCharged","Charges","FamilyID=" & [Client Info]![FamilyID])
TotalPTCharge: DSum("PTFee*PTDaysCharges","Charges","FamilyID=" & [Client Info]![FamilyID])
TotalCharges: [TotalFTCharge]+[TotalPTCharge]
TotalPayments: DSum("Amount","Payment_Adjustment","FamilyID=" & [Client Info]![FamilyID])
ClientBalance: [BeginningJulyBalance]![BeginningBalance]]+[TotalCharges]-[TotalPayments]
If someone could point me in the right direction on my next steps I would be forever grateful.