If you mean the record displayed on a bound form, in the button click event
the simplest is Me.Dirty = False. An alternative is DoCmd.RunCommand
acCmdSaveRecord.
That will save the record if there have been any changes to the data; if
there haven't been any changes, there's no need to save. On a bound form,
there's no need to save in the AfterUpdate event, because it doesn't fire
until the record has been saved.
If you aren't talking about the current record in a bound form, please
clarify.
Larry Linson
Microsoft Access MVP
"dixie" <di****@dogmail.com> wrote in message
news:Zl***************@nnrp1.ozemail.com.au...
I know I've asked this before, but the answer elludes me and the message
has long since disappeared from my newsgroup messages. How do you save a
record using vba from a button or as part of an after update event in a form?
dixie