Apply changes on a form

S

Samuel

Hi

I have a form with textbox and a button and I would like to apply the
changes to the textbox as soon as the user clicks the button before the user
changes the record or close the form

Thank you,
Samuel
 
D

Douglas J. Steele

Try code like the following for the button's Click event:

Private Sub MyButton_Click
Me.Dirty = False
End Sub
 
Top