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
 
Back
Top