Apply changes on a form

  • Thread starter Thread starter Samuel
  • Start date Start date
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
 
Try code like the following for the button's Click event:

Private Sub MyButton_Click
Me.Dirty = False
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top