Ponderosa Posted February 13, 2018 Posted February 13, 2018 Is there a way to count the number of records in a portal (got that part figured out in a sum field) AND account for if a record has a specific field entry? I have a portal that displays games and sometimes the games are paired together in one record. I want to be able to count the paired games as 2, not 1. I'm thinking something like If ( Qty = 2 ; ( Get ( TotalRecordCount) * 2 ) ; 1 ), but currently what I get is ALL the records, times 2.
Agnes Riley Posted February 13, 2018 Posted February 13, 2018 Is it a filtered portal or not? If it's not filtered, this is pretty simple. You can get a count of Ids from the parent table: Count ( your portal::iD ). If it's a filtered portal, you'll need to duplicate that portal and just show one record in the duplicated portal. Create a summary field in your child table of the record Ids. Put that in your filtered portal copy. Make sure the filtering matches the original portal.
Agnes Riley Posted February 13, 2018 Posted February 13, 2018 Does the "qty "indicated 2 for a paired game? Cause if yes, then Fitch's answer is the correct one for an unfiltered portal.
Recommended Posts
This topic is 2741 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 accountSign in
Already have an account? Sign in here.
Sign In Now