Triggers unregistered on entry to Report Writer or Modifier

TechKnowledge Content

When a user enters the Report Writer or Modifier in a running application, all Dexterity based triggers are un-registered from memory. When a user then chooses to go back to Dynamics or eEnteprise, the Startup scripts run for each application on re-entry. Therefore, you need to make sure that all your triggers are registered in the Startup global procedure. If you do not, those triggers will not fire for the user when they re-enter the application. The most common case where this occurs is the following. A developer registers one focus trigger in their Startup script that triggers on the Switch Company window. Then, inside that trigger, they register their remaining triggers using the user and company login information. While this technique works successfully on initial entry, or on switching companies, the triggers will not get registered again when the user enters Report Writer or Modifier and then returns to the main application.

This article was TechKnowledge Document ID:10057

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.