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 6034 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm trying to get a script with a logical operator to work.

If i run the script without the "or" it works fine but when i use the or in the calculation it doesn't work.

What i want it to do is when customernumber is not what i define it shall exit the script else run the script.

i have attached an examble file.

test.fp7.zip

Posted

If i run that script under Record 1 (customernumber 2020120) it halt the script, it shall show test 2.

Thats what i want it to do.

Posted

Your condition needs to be:

test::Customernumber ≠ 2020120 and test::Customernumber ≠ 2020121 and test::Customernumber ≠ 2020122

or, if you like:

IsEmpty ( FilterValues ( test::Customernumber ; "2020120¶2020121¶2020122" )

It would be better to have a field that describes some attribute of customer, instead of hard-coding data into a script.

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