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.

Create value list from single global field with multiple values

Featured Replies

I'm wanting to create a value list that offers years in the range 5 years prior through to 5 years after the current year, self updating from year to year via calculation. I have found the range I need through a custom function with parameters of starting year and ending year which returns a single field with the list of years within the one field. I can't however figure out how to use this single field of multiple values as a value list.

It may be obvious but I haven't been able to find a way of achieving what I want - it may not be the best way so any help is appreciated. 

The "official" answer to your question is that a calculation field that relies on the current date must be unstored, and a value list cannot be based on an unstored (i.e. unindexable) field.

However, there is an undocumented hack: if you define the value list to use only related values through some relationship, and dismiss the warning you'll get, it will work. 

--
P.S. Your title mentions a global field - but a global field will not "self-update from year to year". 

 

Edited by comment

  • Author

Thanks for your your quick reply - I will give that a go. 

  • Author

Perfect. There is always someone on this forum willing to help out, and a great source of information that would otherwise remain undocumented as you put it. Thanks so much (once again) for your help.

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.