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

Possible to filter list based on field 1, but display only field 2?


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

Recommended Posts

Posted

I'm wondering if it's possible to filter a value list that has two fields specified.

Example:

ID & Info

Is it possible to filter this value list, based on the ID, but display Info, for example in a calculation.

I am using the following to filter the list:

FilterValues(ID; ValueListItems(Get(FileName);"Valuelist 1"))

This filters it correctly, but displays the ID, when I would like it to show the Info instead.

Also, is it possible to remove the carriage return at the end of the filtered result?

Thanks heaps.

Posted (edited)

I would actually do this with a relationship...

Essentially, create another table occurrence for your table that has the ID and Info fields in it. Draw a relationship based on your ID field. Then, create a value list where you use values from the new table occurrence and the info field. Choose include only related values starting from the table on the left hand side of the relationship.

I attached a VERY bare bones sample file that should help. Let me know if you need any help. Or, if this helps let us know.

: )

Relational_Value_Lists.fp7.zip

Edited by Guest

This topic is 5462 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.