mjohnson

Managing Multiple Application Event Subroutines

Discussion created by mjohnson on Jul 31, 2013
Latest reply on Aug 5, 2013 by mjohnson

I recently ran into a problem where I had application event subroutines for the same event coming into conflict with each other. My situation is that I include code from other scripts (sort of like a library), and I ended up with two "Application_BeforeProjectChanged()" subroutines. I didn't get any errors for redefining the subroutine, but it appears that one overwrote / overruled the other. However, from what I can tell, application event subroutines s from two different scripts run at startup appear to both execute.

 

Are there any other ways of managing multiple application events of the same kind in the same script?

Outcomes