Jump to content

FMButler DoScript / Script Triggering


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

Recommended Posts

Posted

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?

This topic is 5841 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.