on dirty event

  • Thread starter Thread starter Linda
  • Start date Start date
L

Linda

I have a form in which I'm trying to use the on dirty event to activate a
couple of command buttons. However, the event never fires, I put a break
point on the subroutine and it doesn't get there. Any ideas as to what I may
need to do to get this to work? I have another form and it works fine but I
don't know what is different here.
Thanks!
 
(re-posting, as my original reply hasn't appeared)

Linda said:
I have a form in which I'm trying to use the on dirty event to activate a
couple of command buttons. However, the event never fires, I put a break
point on the subroutine and it doesn't get there. Any ideas as to what I
may
need to do to get this to work? I have another form and it works fine but
I
don't know what is different here.
Thanks!


One possibility: the Dirty event will not fire if the form is initially
dirtied by code; only if it is dirtied manually. So if you have code
running that dirties the form before you type in or click on anything, that
could be the cause.

Another possibility: the Dirty event won't ever fire for an unbound form.
Is your form unbound?
 
Back
Top