larrydavid
Programmer
Hello, I am trying to recalc a value in the parent form. On this form, I have a click event which opens a separate form where I am entering values, one of which needs to be subtracted from the current value on the parent form. It is a Check Amount, and for each Check Amount entered on the popup form, the Balance Due on the parent form needs to have this amount deducted. Here is the code I am trying:
This gives me Run-time error '2448' You can't assign a value to this object:
Private Sub Form_AfterUpdate()
'For each payment the Balance Due drops: [Form_FRM_TEST_1].BALANCEDUE.Value = ([Form_FRM_TEST_1].BALANCEDUE - Me.CHECK_AMOUNT.Value)
[Form_FRM_TEST_1].Repaint
End Sub
Any help would be greatly appreciated.
Thanks,
Larry
This gives me Run-time error '2448' You can't assign a value to this object:
Private Sub Form_AfterUpdate()
'For each payment the Balance Due drops: [Form_FRM_TEST_1].BALANCEDUE.Value = ([Form_FRM_TEST_1].BALANCEDUE - Me.CHECK_AMOUNT.Value)
[Form_FRM_TEST_1].Repaint
End Sub
Any help would be greatly appreciated.
Thanks,
Larry