Event Procedures Get Erased - BUG?

  • Thread starter Thread starter Rip
  • Start date Start date
R

Rip

Some of the code written for command buttons when using
wizards to create the button, gets deleted. button is
useless of course and i have to redo the button. Its
random and i cant tell if it happened when i converted
2000 DB to 2002. its a large database with 75+ forms
and it may be several weeks before the command button is
used and then i find out it doesnt work. example, i
have a service calls form which lists all calls in a
listing format. I select the record and push an "info"
command button to open another form that displays all the
info on that service call. sooner or later u push "info"
button as usual and i get no response. the on click
property for the button still has "event Procedure" and i
goto the editing window and now the instructions for
that EProcedure are erased. it doesnt happen if i make a
macro to open the form and than name the macro in the on
click property but i have to many buttons made with the
event prcedure code.... my off 2002 is completly current
with pacthes and updates. for now im just replacing the
erased events with macros as they are found. thanx for
any info on this. Rip
 
Rip said:
Some of the code written for command buttons when using
wizards to create the button, gets deleted. button is
useless of course and i have to redo the button. Its
random and i cant tell if it happened when i converted
2000 DB to 2002. its a large database with 75+ forms
and it may be several weeks before the command button is
used and then i find out it doesnt work. example, i
have a service calls form which lists all calls in a
listing format. I select the record and push an "info"
command button to open another form that displays all the
info on that service call. sooner or later u push "info"
button as usual and i get no response. the on click
property for the button still has "event Procedure" and i
goto the editing window and now the instructions for
that EProcedure are erased. it doesnt happen if i make a
macro to open the form and than name the macro in the on
click property but i have to many buttons made with the
event prcedure code.... my off 2002 is completly current
with pacthes and updates. for now im just replacing the
erased events with macros as they are found. thanx for
any info on this. Rip

Have you examined the whole code module, in "full module" view, to see
if the event procedure is in there with a different name? Is it
possible the control got renamed along the way, whether manually or by
the Name Autocorrect "feature"?
 
Back
Top