Procedure] or the code in that event will not run.
> I found a message with the subject of "code in open/load event won't
> execute" from 8/9/00 experiencing problems with update and load events not
> executing. Don't know if this is a similar problem you're having. I've
had
> similar problems but have not found anything else in the newsgroup
> concerning it. In order to trace the problem, I used breakpoints at the
> beginning of the event and they never occured. What I have observed
> happenning is that the event of the control (like AfterUpdate) is no
longer
> attached to the control. If you look at the properties list of the
control,
> the event is blank, although it still exists in the code. It's a relative
> simple procedure to set the property back to "event procedure" if all you
> have are a few event procedures. But, if you have many, it's cumbersome
to
> make sure that no event becomes unattached. It's also embarassing to
> install new updates for a user, and then find the some parts of the code
you
> spent much time testing is no longer active!
> Another way that I found to get the event "re-attached" is to put a space
> (modify the line) on the end of the procedure line, such as in Private Sub
> Text0_AfterUpdate() . I have went so far as to create a macro that moves
to
> each procedure line, go to the end if it, and put a space. Each time I
make
> changes to the form, I execute the macro as part of finishing the code
> (compile and save, test, compact).
> It's worked in the past. However, now I have a situation where it works
> until I save and close the form, but when I re-open it, the event is no
> longer attached. I would like to hear some comments on this issue, if
it's
> something we aren't doing correctly, if it's a known bug, and if there is
a
> surefire way of making sure everything is attached.
> I have compacted the database. I am using Access 97, SR2 (as near as I
can
> tell - that is, certain way of updating the patches doesn't put the SR2 in
> the "about" page)
> Thanks,
> Duane
> > I have a project (Acc2000) linked to a SQL server back end.
> > In a subform when moving to another record after a new record is added,
> > or after shift-enter or menu:Record, Save Record, neither AfterUpdate
> > nor AfterInsert fires.
> > Has anyone else seen this phenomenon? Workaround?
> > TIA.
> > Phil
> > PS I'd appreciate an answer by email as well as to the group