Jump to content
Server Maintenance This Week. ×

FMButler DoScript / Script Triggering


jim0203

This topic is 5545 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm using DoScript to trigger a script whenever a record is committed: i.e., whenever the user has finished editing a record and either moves to another record or creates a new record, a script should trigger.

It's working fine, but the script I'm triggering manipulates the contents of the record that has been committed. However, using the code

Let ( queueScript = mFMb_DoScript( "TriggeredScript" ) ; mFMb_DS_LastErrNum = 0 )

To trigger the script means that it's triggered after the record being edited is committed. This means that "TriggeredScript" runs with reference to the record that is being moved to.

Any idea how I can change this so the script points at the correct record?

Link to comment
Share on other sites

This topic is 5545 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.