Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Does anyone know how to write a script that will triger diffent options. I guess what I am trying to say is....say I have a field with the number "1" in it and I have a button that will run a script based on the number entered. So number "1" will triger one script and the number "2" will triger a different script.

how can I achive this?

RET

Posted

Hello Jack. I think it would go something like this:

If ["Field = "1""]

Perform Script [subscript]

Else

If ["Field = "2""]

Perform Script [subscript]

End If

End If

blah blah blah

You don't have to perform the sub-scripts, though. You can just put your desired operation after your IF statement.

Hope it helps. Post if you have any other questions.

Ken

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