G
Guest
Screen flashes once when doing On Exit [event procedure] to update a value in
another form. When exiting the field the screen flashes once. The other
form is updated correctly. Why does the screen flash? Below is the code that
is used:
Private Sub TotCol_Exit(Cancel As Integer)
DoCmd.OpenForm "TemporaryVal", acNormal, "", "[Number] =" & [Testmdj],
acEdit, acNormal
Forms!TemporaryVal!TempVal = [Tempmdj]
DoCmd.Close acForm, "TemporaryVal", acSaveYes
End Sub
another form. When exiting the field the screen flashes once. The other
form is updated correctly. Why does the screen flash? Below is the code that
is used:
Private Sub TotCol_Exit(Cancel As Integer)
DoCmd.OpenForm "TemporaryVal", acNormal, "", "[Number] =" & [Testmdj],
acEdit, acNormal
Forms!TemporaryVal!TempVal = [Tempmdj]
DoCmd.Close acForm, "TemporaryVal", acSaveYes
End Sub