Form Dirty Property

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

Guest

I am having difficulty in exploiting the ‘On Dirty’ property of forms.
Sometimes it works as expected but, more often than not, changes to controls
bound to table fields fail to trigger the On Dirty event. I am then forced
to associate each amendable control with an After Update event. That
invariably works but, with a dozen or more amendable controls on a form, the
resulting code can look pretty clumsy. There is something that I have
clearly not understood. Can anyone enlighten me? I just want to take
appropriate action when any control on a form is updated or amended.
 
The OnDirty event is a form wide event that occurs when the underlying record
goes Dirty. It will not fire again until either the record is saved or the
changes are undone.
 
Back
Top