Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Space in a field is not a null return?

Featured Replies

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,

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.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.