Skip 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.

can you help me with my case calculation?

Featured Replies

Hello! I have a table(X) with a list of names with values. (say a = 1, b = 2, c = 3) in another table(Y) I want someone to select the name (from value list a, b or c) and I want it to look up the value from my tableX.

So I've used the case calculation like so:

Case ( name = "a"; tableX::a ; name = "b" ; tableX:: ; name ="c" ; tableX::c)

can someone tell me where I'm going wrong? I know if I replace the "tableX::a" with a number it works but I want it to look up the field value.

Thanks for your time!

If I understand correctly, might you be better off creating a relationship between Table X and Table Y based on relating TableX::Name to TableY::Name_List.

Then you can create a portal display of the data from TableX based on the name/relationship selected in TableY.

Phil

  • Author

Hmm I'm trying to understand what you mean...basically i want a field in layout that I choose out of (eg) red, blue, green - a value list? then based on what i chose, the colour refers to a number 1, 2 or 3. sort of like having a field of fields if this makes any sense?!

walk me through it wink.gif

thanks for replying!

Basically you are going to create an indexed list in table 2 of all of the names that you have in table 1 and then you are going to create a relationship joining tables 1 & 2 by the name fields. You will then place the value filed from table 1 into the layout for table 2 based on the relationship. Now as you choose a name in the indexed field in table 2 the associated value will display.

Please see the little sample file I've attached to this reply.

Phil

NameRelation.zip

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.