I have a report that is grouped twice.
First it is grouped by Record name, second it is grouped by Value X.
I have decided that I only one to show 6 records on a page.
I know that I can use variables and state that
X := X + 1 for each record, and then conditionally insert a new page after when Remainder(X,6) = 0.
However, I am trying to do this without a variable like this.
I have tried the recordnumber and groupnumber functions, but since I have two groups these numbers do not reflect the record name, but the number of the values this person has. For example Record 1 has the recordnumber and group number values of 1. However, since record 1 has 11 values (group 2), the second record is actually given recordnumber and groupnumber 12.
This number will never be in sequence.
Is there another way to do this? Is there possibly a way to get groupnumber to only count group # 1? Is there any way to reset the groupnumber value?
Thanks as always.
First it is grouped by Record name, second it is grouped by Value X.
I have decided that I only one to show 6 records on a page.
I know that I can use variables and state that
X := X + 1 for each record, and then conditionally insert a new page after when Remainder(X,6) = 0.
However, I am trying to do this without a variable like this.
I have tried the recordnumber and groupnumber functions, but since I have two groups these numbers do not reflect the record name, but the number of the values this person has. For example Record 1 has the recordnumber and group number values of 1. However, since record 1 has 11 values (group 2), the second record is actually given recordnumber and groupnumber 12.
This number will never be in sequence.
Is there another way to do this? Is there possibly a way to get groupnumber to only count group # 1? Is there any way to reset the groupnumber value?
Thanks as always.