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

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

Recommended Posts

Posted

I'm sure this is simple but I can't figure it out. I want a script to do the following;

If (

field1+field2 (not equal sign) field 3 ; Message "The sum does not match field 3" ; do nothing

Posted

Script?

Use basically what you have shown with a custom dialog for the message and set a script trigger - onobjectexit - with this script on field 3

Posted

Script?

Use basically what you have shown with a custom dialog for the message and set a script trigger - onobjectexit - with this script on field 3

So I have a script trigger on object exit with this script in the IF function.

If (

MFInventory::goodparts+MFInventory::rejectparts ≠ MFInventory::Serial_Qty ; "The sum does not match the Serial Qty" ; ""

)

It doesn't work though because it doesn't come up with a message or do anything if the values are wrong. How do I create a pop up message? What's wrong with this formula?

Posted

I just figured out an easier way to do it. I just made the second value have a validation that says field1+field2=field3 with a custom message that says "The sums do not match".

Thanks for the help.

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