Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi,

I'm looking for a way of creating a value list of [record Numbers] that appear in a portal, for use in a calculation field. Can you help?

Thanks

Giles

Posted

I've managed to establish a value list, but it's returning ALL the [record numbers] in the database, rather than the [record numbers] for the found set.

I've built a series of tests (a test portal, a test "count" calculation, and a test that correctly reports the first [record number] for each set) to check that I've set up correct relationships, and they seem to be working fine. I'm using the same expressions as I did in previous DB's (ValueListItem, "fileName", "ValueList").

Any suggestions as to where I'm going wrong would be really helpfull

Thanks

Giles

Posted

ValueListItems will return the items that are already in a value list. What you need to do is create the value list in the first place. If what you want is appearing in a portal, then this good news since there must be a valid relationship in place to create that portal. Create a value list using the "use values from field" option, pointing this to whatever field has the values you want. Then set this to "include only related values" and set this relationship as whatever relationship is that is producing your portal. In FM7 you also have to assign a "starting from" table to put it in the proer context.

HTH,

Dan

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