Reid Posted September 29, 2010 Posted September 29, 2010 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
efen Posted September 29, 2010 Posted September 29, 2010 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
efen Posted September 29, 2010 Posted September 29, 2010 Sorry, I misread your query -- set the trigger on both field 1 and field 2
Reid Posted October 1, 2010 Author Posted October 1, 2010 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?
Reid Posted October 1, 2010 Author Posted October 1, 2010 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now