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

Hoping there is a quick easy answer....


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

Recommended Posts

Posted

Is there a way to 'count' the number of records within a portal?

For example say you have a portal and next to it is a box with the total number of records (as you switch records, the 'Count Total' adjusts accordingly).

Posted

Sure, define a calc field in the parent table that uses the Count() function to count some field in the related file that always has data, like the foreign key:

Count Total (calculation, number result) = count(relationship::key)

Posted (edited)

Thanks! Works great : Next Question...

I was also hoping to also use this new count field in a Value List. Basically allowing the user to see the most popular items first.

However! When I attempted to use it in a Value List, it said that it would not work as the field could not be Indexed.... Any way around this?

Edited by Guest

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