Hi,
Thanks for responding. The form is bound to a table and it is not being
dirtied programmatically; I am 'just' entering a new record. That means that
both the BeforeInsert and the Dirty event should fire. The BeforeInsert
event does fire, the Dirty one does not.
I have now also seen this behaviour on another form that does not have a
BeforeInsert event. Here too the Dirty event does not get fired.
Still, this only happens in Access 2002. In Access 2000 the Dirty event gets
fired all the time (and I like that!).
HJ
"Darryl Kerkeslager" <Ke*********@comcast.net> wrote in message
news:B8********************@comcast.com...
The OnDirty event only fires for bound controls, and bound forms. Also,
if VBA code makes any change to a bound form, it can prevent the Dirty event
from firing unless you specifically set Dirty to False after your code
executes.
Darryl Kerkeslager
"HJ" <hj********@spamhotmail.com> wrote: I notice that the Form_Dirty event does not fire in Access 2002 (SP-1)
when the first character is typed into a new record. In previous versions of
Access it does fire.