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.

REturn "yes" if not blank

Featured Replies

  • Newbies

Hello--I am new to FileMaker (from Excel) and am trying to set up a function (I believe) that will tell me someone if a member. For example: I have a membrship database where under "Member Type" I have set up 5 radio buttons with our different types of membership. On a differnet layout I want to track those members (and others) who attend our annual conference. On the 2nd layout I want to put a field that will look at the "Membership Type" field and return a "yes" if one of the radio butoons is clicked or a "no" if none of them are clicked. What is the best way to do this?

Much thanks, in advance!

Calculation field equals: If (IsEmpty (Member_type, "", "yes")

You are checking whether a single set of conditions exists, so use 'If'. (For multiple situations, use the 'Case' function.) IsEmpty returns true if the field contains no value, and the calc will return a null string; otherwise it returns "yes". Remember to choose "text" as the result type of the calc.

  • Author
  • Newbies

Thanks for the reply. I have tried what you mentioned but it keeps telling me that the "field cannot be found." I picked that field off the list so not sure what to do know. Here is what I put in--2001 Membership Type is the filed. When it says it cannot find the field it only highlights Membership Type and the hyphen before it. Do I have something set up wrong with that field?

If (IsEmpty (2001_Membership_Type, "no", "yes")

Any suggestions?

Look in the list of functions in the calculation dialog: I'll bet the delimiter character is semicolon, not comma.

Type the calculation again only use a semicolon.

If you actually typed in FM what you have in your thread, it should red:

IF(IsEmpty(_Membership),"Yes","No")

  • Author
  • Newbies

Thanks everybody for all your help. I figured it out. My problem was the field name. It would not recognize starting the field with "2001." Once I changed the field name it worked perfectly. Here is what my calc field reads now.

If(IsEmpty(Membership Type 2001), "no", "yes")

Thanks again--one headache gone!!!!!

Ahhh yes. FMP even gives a warning that field names starting with digits or containing certain characters won't work in calculations, but it's amazing how often it goes unheeded.

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.