P
paxdak
What's the VBA equivalent to selecting RECORDS -> SAVE RECORD (shift-enter) when on a form?
Kevin K. Sullivan said:Me.Dirty = False
Keep in mind, this will cause an error if the form is not dirty to
begin with, so
If Me.Dirty = True Then
Me.Dirty = False
End If
is typical.
Dirk Goldgar said:Actually, Me.Dirty = False will not cause an error if the form isn't
dirty. It's just that it's marginally more efficient to only do that
when the form is actually dirty.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)