SAVE RECORD Command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

To explicitly save the data in a record while you are editing it, click Save Record on the Records menu. Is there a "save record" command (that does the same thing) that I can use in an event procedure?
 
Hi

DoCmd.RunCommand acCmdSaveRecord

While editing, you can also click on the pencil picture to force a record
save.

HTH,
Immanuel Sibero



Dorci said:
To explicitly save the data in a record while you are editing it, click
Save Record on the Records menu. Is there a "save record" command (that does
the same thing) that I can use in an event procedure?
 
To explicitly save the data in a record while you are editing it, click Save
Record on the Records menu. Is there a "save record" command (that does the same
thing) that I can use in an event procedure?

Here you go:

'***EXAMPLE START

'Save record only if changes have been made
If Me.Dirty Then
Me.Dirty = False
End If

'***EXAMPLE END
 
Back
Top