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.

Script to Change Value in Value List

Featured Replies

I am using FileMaker 8.0. I have a database with a value list field whose options are "Yes" or "No". I would like to write a script that will go through all records in the database and change any instances of "Yes" to "No". Is this possible? I tried doing it the following way but was unsuccessful.

Show All Records

Go to Field [Contact::RSVP]

Set Field [Contact::RSVP; Contact::RSVP = "Yes"]

Go to Field [Contact::RSVP]

Perform Find/Replace [No dialog; Contact::RSVP = "Yes"; Contact::RSVP = "No"; Replace]

Thanks for reading!

Here is but one way of doing it:

Show All Records

Go to Record/Request [ first ]

Loop

If [ field = "Yes" ]

Set Field [ field ; "No" ]

End If

Go to Record/Request [ next ; exit after last ]

End Loop

  • Author

Vaughan,

Thank you so much! I had tried a loop previously, but was unsuccessful. Cheers!

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.