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.

Filtered Value List and...

Featured Replies

Using FM8 Advanced on Win:

I have a filtered value list built from records in a Valuelist File. The list is attached to a field called 'City'. If the user enters a value that is not already on the list, when I left the layout via a button, I would run a validation routine that checked the value, and added the record automatically to the filtered list. It worked, but the new value was never available until the user left the layout.

I tried using EventScript to run a small script when the user leaves the field. The field is validated by a calc, which calls the script to add the new field. If the calculation option 'Do Not Replace Existing Value For Field...' is checked, the script never gets executed. If it isn't checked, the script runs and adds the value, but when it returns to the layout, the new value is not in the field, and it would cause the user to click on the list again.

Anybody have any ideas on how to make this work correctly? What methods do you use to auto-update filtered valuelists when new values are entered? How do you allow the user to delete values?

Steve

  • 2 weeks later...

i just have a self joined relationship city = city, then make a value list off that. this way once you have someone enter a city which hasnt been there before, it will appear in the value list from now on without any scripting. you just have to leave the field once. the issue is of course that if i today enter Frankfurt and tomorrow Frank furt i have two values for the same meaning....using the new auto complete feature could help avoiding mistakes though.

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.