Jump 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.

handling NULLs in a query string

Featured Replies

I have a data driven website connected to a FileMaker Pro 8.5 database.

In my webform, I have a few dropdowns and textboxes.

The problem is that there are lots of empty fields in the database, so no matter what the user is going to enter, the search is not returning any data. So with one NULL in the queryString, no data will be returned.

Does anybody know the syntax of how to handle NULLs in a queryString? I know in Oracle there's the NVL function: NVL(value,NULL) it returns "value" and SQL Server it's ISNULL(value,null), it returns "value".

I'm not sure what's FileMaker's syntax...I tried both and of course didn't work...

any help would be really really appreciated!!

thansk

I don't know if this will work with FileMaker, but the SQL-92 standard uses:

  COALESCE(v1,v2)

which the standard says is shorthand for:

  CASE WHEN V1 IS NOT NULL THEN V1 ELSE V2 END

so you might try one of those two.

Create an account or sign in to comment

Important Information

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

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.