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.

Determine if item is member of a value list

Featured Replies

Can anyone clue me in as to how to determine if a value in a field is a member of a value list? I have date field that I'd like to check to see if it matches a list of dates that are contained in a value list that gets its values from a field in another file.

Basically, the value list contains the dates that my organization is closed for holidays, and I want to check that a value in a date field that is automatically entered by a script using a calculation does not get entered if the date matches one of our holidays.

This might seem simple, but I can't find the answer anywhere. Any assistance would be greatly appreciated!

FileMaker Version: 6

Platform: Mac OS X Panther

Kevin->

This function will return all items in a value list which is in the current file:

ValueListItems(Status(CurrentFileName), "ValueListName")

To see if a field's contents are in the Value List, use the Position function as a boolean (0 = no, non-zero = yes):

Position(ValueListItems(Status(CurrentFileName), "ValueListName"), FiledName, 1, 1))

Will this do what you need?

Sam

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.