Vb code to save the current record of the form needed !

  • Thread starter Thread starter ljubo lecic via AccessMonster.com
  • Start date Start date
L

ljubo lecic via AccessMonster.com

I have a command button with OnClick event defined.
Before the actions defined in the event I need to ensure that the
current record has been saved.I would appreciate if someone
could give me the VB code to save the current record.
 
ljubo said:
I have a command button with OnClick event defined.
Before the actions defined in the event I need to ensure that the
current record has been saved.I would appreciate if someone
could give me the VB code to save the current record.


This is my preferred method:

If Me.Dirty Then Me.Dirty = False
 

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