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.

Find next item in value list

Featured Replies

Hello all--

Am trying to write a script that will simply find the next entry in a value list. For example, if my layout has a field on it called "Name", and that field uses a value list called "Names", and the Name in the current record is "Joe", I want to launch a script that will perform a find on the value immediately following "Joe" in the value list. Hope that makes sense.

Sure, the user could just go into find mode and arrow down 1x in the value list that pops up, but--long story short--I need it to be done via a script.

Thanks, all---

FileMaker Version: 6

Platform: Mac OS X Panther

Suggestion: put the whole text of the value list into a global field (use the ValueListItems function). Compare the first line with the current value, if it does not match then delete the first line. Compare the first line again... and loop until the current value matches. Delete this line and grab the next value.

  • Author

Thanks for your reply, Vaughan. In Scriptmaker, what is the syntax for comparing a value with 'line 1' and subsequently deleting 'line 1' in a global field, as you suggest? I'm not aware of any script steps that let you break down a multi-line global field in this way.

FileMaker Version: 6

Platform: Mac OS X Panther

Hi,

If you hadn't duplicated your post, you might also have found another answer in the Finding and Searching forum...

ooo.gif

Please don't duplicate posts, it doesn't help either you and members trying to help you.

FileMaker Version: 6

Platform: Mac OS 9

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.