Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5651 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a calculated field that does multiple Case tests against several related tables and returns a text status value (i.e. Approved, On Hold, etc) based on the results. Rather than hard-code the status strings into the calculation, I'd like to use a value list, in particular one created from a table, but I can't seem to find a way to do so directly.

I know I could use a global field with CR separated values and the various values functions, but since these statuses already exist in their own table I'd like to avoid that redundancy if possible.

Am I missing something?

Posted (edited)

If I understand this correctly, your calculation should run along the lines of:

Case (

test1 ; 1 ;

test2 ; 2 ;

test3 ; 3 ;

...

)

Then fetch the text result through a relationship to a table where each text has a numeric ID.

Or, if you prefer to use a value list:

Let (

value# = Case (

test1 ; 1 ;

test2 ; 2 ;

test3 ; 3 ;

...

) ;

GetValue ( ValueListItems (...) ; value# )

)

Edited by Guest
Added another way

This topic is 5651 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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