Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update Value in Another Open Form

Status
Not open for further replies.

larrydavid

Programmer
Jul 22, 2010
174
US
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
 
can you please explain this in a bit more detail and step by step as to what you are trying to acheive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top