Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

VBA: SaveRecord_BeforeUserChanged is not firing

(0) ShareShare
ReportReport
Posted on by 225

Hi again:

I wanted to capture any save on a Position Setup record and came across this blog post from David and thought I had my solution. I made the SaveRecord field visible from within Modifier and then successfully registered the script in VBA. However, when I try adding code to the SaveRecord_BeforeUserChanged handler, it fails to fire when I click the Save button. I also tried implementing the SaveRecord_Changed handler and it fires just fine... twice on each save even.

I then tried the equivalent DisplayExistingRecord handlers. Again, the Changed fires, but the BeforeUserChanged does not.

I found another post by a developer suggesting the problem started when s/he upgraded to GP 2010. I'm on 2013. Does anyone know anything more about this? 

I'll try the Window_AfterModalDialog approach next, but this definitely seems "kludgier".

Many thanks,

Pab

*This post is locked for comments

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans