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.

clear field if not a member of related value list

Featured Replies

two fields and two tables:

- continent

- country

third table:

- traveller

when a new traveller is created a continent is select from a related pulldown. and then a country is selected from a pulldown that is related to the selected continent.

If the user has selected both and then decides to change the continent. I would like the country to clear. If current country is not a member of the related value list.

My first attempt was a field calc value:

If (

Position ( ValueListItems ( Get ( FileName ) ; "county" ) ; traveler::country ; 1 ; 1 ) =0 ;

"" ; traveler::country )

Refresh my memory, which country exists on more than one continent - except Russia???

I think I instead would clear the country field every time someone tampers with the continent selection.

It can be done by making the country field an autoenter calc that replaces existing value with this calc's result:

Evaluate(Case(0;0);ContinentField)

--sd

  • Author

thanks I will give it a try. And sorry about the geography... I am acctually working with Markets and Districts.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.