I have a vba update query that sets the Claim Value - which works.
the value on my form does not refresh until i go out of the form and come back in . Even though i have the requery code in the after update field of a textbox.
How do i make sure this total is updated when the values are updated ?
Code:
DoCmd.RunSQL "UPDATE QryqcCharges SET Claim_Value = " & ClaimValue & " WHERE Job_ID=" & Nz(Forms!FrmCharges.Job_ID, 0) & " AND [Quote/Charge]=" & CurformType & ";"
the value on my form does not refresh until i go out of the form and come back in . Even though i have the requery code in the after update field of a textbox.
How do i make sure this total is updated when the values are updated ?
Code:
Private Sub tbQty_AfterUpdate()
' Update Claim Value
UpdateClaimValue 1
' Requery total and update claim value
Forms!FrmCharges!tbTotalCharge.Requery
End Sub