Click here to Skip to main content
15,887,344 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I work in rdlc report

My problem how to set fixed number of records per page to 6 records

in detail section i have matrix and inside it have rectangle have my data

matrix have rowgroup inside group i write

=Ceiling(RowNumber(Nothing) / 2)
and it have also column group and inside it

=(RowNumber(Nothing)-1) Mod 2
my out put result i need

every page in report

display 6 record based on two column as following

1001 1002

1003 1004

1005 1006

my image of report as below

File sharing and storage made simple[^]

What I have tried:

<pre>How to set number record per page for 6 ?
Posted
Updated 13-Mar-17 22:03pm
Comments
CHill60 13-Mar-17 8:28am    
Why are you using / 2 instead of / 6 ?
Maciej Los 13-Mar-17 16:59pm    
Good point!

1 solution

No response to comment therefore assuming this is the solution...
You have
=Ceiling(RowNumber(Nothing) / 2)
(and also Mod 2.

If you want 6 rows per page your going to need to change it to
=Ceiling(RowNumber(Nothing) / 6)
. Because of your column grouping though I think you need to retain the Mod 2 bit. There's not really enough information to help you further, other than to advise experimenting a bit with the two suggestions above.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900