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.

Featured Replies

OK, my last question turned out to have an idiotically simple solution, so I'm hoping this one does too.

 

I have a Funds table, listing the various pots of money which can be used to purchase a given item.  Each fund has a fund_name.  There is also a fund_active field indicating whether the fund is still open for use, with values YES/NO.

 

I have a Purchases table.  When a record is created for a new purchase, one of the fields is "Fund" indicating the fund used to purchase the item.  This field is a drop down value list, which is set to "Use values from field Funds::fund_name".  Currently, this drop down shows ALL the fund names in the Funds table, and the list is getting really long.  I would like it to limit the drop-down value list to only those funds whose fund_active is set to YES.

 

This seems like it should be easy.  I've look at a few postings about conditional value lists and they all seem like overkill for what I want to do.

A simple solution would be to define a calculation field in the Funds table =

Case ( fund_active = "YES" ; fund_name )

and use this field as the basis for the value list instead of fund_name.

 

 

Note that properly you should be using a fund id instead of a name. It is also more practical to define flag fields as type Number and use the values of 1 for True and 0 (or empty) for False. Or (preferably, IMHO) use a type Date field to record the date a fund was deactivated.

  • Author

That worked a treat -- thanks!

 

A simple solution would be to define a calculation field in the Funds table =

Case ( fund_active = "YES" ; fund_name )

and use this field as the basis for the value list instead of fund_name.

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.