John Chamberlain Posted October 3, 2015 Posted October 3, 2015 I have a script that looks for a number of values in a field. I one of the values is detected a certain counter is set, depending on that value. If no value is detected, still another counter is set. In one record I found this problem: somehow the field being tested had gotten a space entered...the script could not find an action for this and skipped the record, not setting a counter for the null field. My question is, is there a way to script this test so that a space (or any number of spaces) will still be considered a null? Thanks,
comment Posted October 3, 2015 Posted October 3, 2015 My question is, is there a way to script this test so that a space (or any number of spaces) will still be considered a null? It's not a very clear question, since we know practically nothing about "this test". I think you said it looks for some specific values. If so, it should return a negative result if none of these values are found - regardless of any other values present, including spaces. In any case, IsEmpty ( Trim ( YourField ) ) will return true if the field is empty or contains only spaces. ---P.S. There is no such thing as "null" in Filemaker.
Recommended Posts
This topic is 3674 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