MS Access: Me.Dirty = False; Forcing a Form to Update a Record

How do you get a form to update its associated record, programmatically?

Me.Dirty = False

What the heck? Why isn’t there a call like Me.UpdateRecord()?

Setting the dirty bit to false should result in nothing. Dirty should be a read-only value, based on if the form has been altered. BUT, that’s not how it is.

It’s important to force updates if you are hacking forms. If you call Me.Close, it doesn’t automatically update the data. See Allen Browne’s blog about this bug.