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.

dinamical value list

Featured Replies

Hi, friends

I have a value list based on a field contents.

How can I dinamically have the list shown only the values of the found set, after a "find" based on another field of the same record ?

There is no way (that I know of) to base a value list directly on the found set.

Since it seems you have the Find scripted, you could use the same script to turn the found set into a related set. The easiest way would probably be copying all found RecordIDs into a global.

Alternatively, copy the values you need and paste them into a non-global field in the users table.

Import the found set into a related table, similar example shown in the following thread:

http://fmforums.com/forum/showtopic.php?tid/168231/post/169249

You may want to make the relation field a bit more unique such as:

Get(CurrentHostTimestamp) & Get(UserName)

I would also suggest deleting the related records once the user is done with the search.

  • Author

Thanks boys.

I hoped there was a more directed method ...

but your indications have been equally precious.

It would depend on how complex the find was. In the attached example running the Find Script and entering a single date will produce a list of Companies that have a corresponding Requested Ship Date (Value List attached to Company_VL field). If you wanted a range of dates it would be a little more complex, but still workable.

The more complex the possible find the more complex it would be to create the dynamic value list.

Not sure if that helps any.

VL_FromFoundSet.zip

Edited by Guest

I was interested in your example and this thread as I have recently been experimenting with using a global "pinch table" to pull out subsets of data much like found sets. I have no doubt that this has been done before but I'll post an example anyway. I have taken the VL_FromFoundSet file of the previous poster and made a few alterations.

GlobalPinchFile.zip

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.