web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Event Mode for Modified Window with VBA

(0) ShareShare
ReportReport
Posted on by 200

Hi,

I am having a very serious problem in our production environment. Whenever I deploy a new package usually new Modified windows with VBA code, the event mode for the existing windows in production changed into emOriginalOnly even though they all were set to emModifiedOnly before the deployment.

However I want to keep the setting as emModifiedOnly for these windows

I am not sure what is missing

Any help really appreciated

Thanks,

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    bobbyboy Profile Picture
    10 on at

    Hi, John.  In GP 2013, the ability to double click the window/form and choose event mode from the GUI appears to be removed.  However, you can still do it from the code. 

     

    In the After Activate event, set Me.EventMode to whatever you would like it to be. Intellisense will give you the right format for the options.

    Hope this helps.  My colleague and I spent quite some time trying to run it down, and it solved the problem for us.

    Have a great day.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans