Page 1 of 1

Re: Select number of report lines

Posted: Wed Mar 21, 2018 10:43 pm
by cstrasser
The easiest way I can think of doing this is to create three fields:

1. A ParameteRR field which holds the number of records you want to create the limit for
2. A running total field of the value you want to restrict (count)
3. A boolean / logical calculated field comparing the ParameteRR with the total and returning True if it's less and False if more

Then on the line in question, create a line-logic property and set it to print if True. When you run the report or export it, you should only get the lines that correspond.

Re: Select number of report lines

Posted: Fri May 11, 2018 11:33 am
by westover
Thanks Chris

By the time my original message had been approved ( about 5 days) I'd worked it out !

I did a running count of the group and a print line test that only printed while the count was less than 20