AnsweredAssumed Answered

Sub Summary Record Count

Question asked by iking42 on Dec 21, 2017
Latest reply on Dec 23, 2017 by iking42

I have a layout with a list of items sorted to display records in sub summary format.

All records contain a common field Book#

I also defined a  field in each record defined as

          CountOfRecords as Summary = Count of Book#

The layout correctly displays a count of each record in each sub summary section of the layout.


When I run a script with any row selected the script step

         Set Variable (SumCount = Tablename::CountOfRecords)

Always returns the TotalRecordCount value

I need the script to return the count of the records included in the particular sub summary

that contained the record of focus when the script was called.


I have done this before but for the life of me I can't remember how.