A
Anthony Viscomi
I have a txtBox on a form and I want to display the Total$ Due. The actual
value reside within another tbl (Transactions). I have the following:
iTempDue = DSum("[WithdrawalAmount]", "[Transactions]", "[SS] = '" & Me!SS &
"'")
iTempPD = DSum("[DepositAmount]", "[Transactions]", "[SS] = '" & Me!SS &
"'")
TotalDueX = IIf(IsNull(iTempDue), 0, iTempDue)
TotalPDX = IIf(IsNull(iTempPD), 0, iTempPD)
Me.txtOutstanding = TotalDueX - TotalPDX
The code "dies" on the assigning of the value to txtOutstanding.
Any thoughts?
Thanks!
Anthony
value reside within another tbl (Transactions). I have the following:
iTempDue = DSum("[WithdrawalAmount]", "[Transactions]", "[SS] = '" & Me!SS &
"'")
iTempPD = DSum("[DepositAmount]", "[Transactions]", "[SS] = '" & Me!SS &
"'")
TotalDueX = IIf(IsNull(iTempDue), 0, iTempDue)
TotalPDX = IIf(IsNull(iTempPD), 0, iTempPD)
Me.txtOutstanding = TotalDueX - TotalPDX
The code "dies" on the assigning of the value to txtOutstanding.
Any thoughts?
Thanks!
Anthony