Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I'm having trouble -- the auto-enter calc with Event Trigger triggers the script too often. I want the script to trigger only when I change a field (and not when I'm running other scripts that don't touch that field). I tried the validation method, but that doesn't work -- it doesn't perform the script until I exit the record, and by then I'm in a new record, and it will perform the end of the script on the new record. What can be done? (I already have a condition in the calc that it won't be executed when a record is new and a field is blank...but this doesn't solve my main problem.)

Posted

Which Event Plugin are you using? Why dont you post your calculation as well.

Posted

I had a similar problem...drove me crazy. It may be on the wrong tab. Move the calc and trigger to the calc on the validation tab from the auto enter tab.

Steve

Posted

I can't use the validation tab for the reasons I explained above -- the validation in 8 does not take place until the record is committed.

Here's my calc:

If(callername ≠ ""; Status & S4HU_EventScript( Get ( FileName ) ; "Set Status" ; Callsheet); "")

Where callername is a field that is filled in after record creation (and before the script should be activated) and Status is the field that when changed should activate the script "Set Status." As you can see, I'm using the S4HU Event Script plug-in.

  • 8 months later...
Posted

callername ≠ ""

A better syntax for this is

not Isempty( callername )

  • 1 month later...
Posted

Put

If ( IsEmpty ( Get ( ScriptName ) ) ; ... )

around your calculation, and it will only trigger when no script is running.

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