Reid Posted October 25, 2010 Posted October 25, 2010 How would I make a script for this? If ( Table:Field = (empty); continue with script ; display message "Serial has already been used" ) I'm trying to make this part of a button. I'm using it for an invoice. The button adds items to the invoice. I don't want it to add the item if its already been shipped before. I'm able to do everything except the if statement to make it stop if there is already a date in the field.
Kris M Posted October 25, 2010 Posted October 25, 2010 If (IsEmpty(Field) ; do pass actions ; do fail actions )
efen Posted October 25, 2010 Posted October 25, 2010 If [field = ""] perform whatever script steps needed here Else Show custom dialog"serial used" Exit script End if
Kris M Posted October 25, 2010 Posted October 25, 2010 Thanks for the correction efen. I was thinking xls.. Sorry for the mistake.
bruceR Posted October 25, 2010 Posted October 25, 2010 If [field = ""] perform whatever script steps needed here Else Show custom dialog"serial used" Exit script End if If isEmpty( field). FileMaker reps are always pretty adamant that = "" is not reliable.
Recommended Posts
This topic is 5143 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