I want to write a script in filemaker which returns true if table::field = 1 for a certain entry, and false otherwise. How do I do this?
I want to write a script in filemaker which returns true if table::field =
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A script can return a value with the Exit Script step. To return a Boolean value set the step’s result to your expression: Table::Field = 1. The Table::Field must be accessible in the current context (i.e. layout). The result will be the Boolean you’re looking for (technically it will be a number). To access this value you need to query it with the Get( ScriptResult ) function.
The way you describe it it doesn’t really sound FileMaker, so if this is not the answer you expected, please provide some context for what you’re trying to accomplish.