How to limit the no. of rows in the details section in rdlc

thankesh
Member Posts: 170
Hi,
I have a report, in which the report should print 10 rows strictly. How to limit the no. of rows in the details section in rdlc?
EG: If the row has less or greater than 10 rows of values, then it should print 10 rows strictly. :-k
I have a report, in which the report should print 10 rows strictly. How to limit the no. of rows in the details section in rdlc?
EG: If the row has less or greater than 10 rows of values, then it should print 10 rows strictly. :-k
With warm regards,
Thankesh
***Learn to lead***
Thankesh
***Learn to lead***
0
Comments
-
Is there any way to restrict the no. of rows in the details section in rdlc??
I tried the following ways by writing the expression in the Parent Grouping of table.
=Int((RowNumber(Nothing)-1)/10)
=Floor((RowNumber(Nothing)-1)/10)
=Ceiling((RowNumber(Nothing))/10)
But, nothing works. ](*,)With warm regards,
Thankesh
***Learn to lead***0 -
Any Idea on this??? :-kWith warm regards,
Thankesh
***Learn to lead***0 -
Not sure that works, but you could try to count lines and then use the visibility property of the line in RDLC table in order to hide the line if your counter is > 10.~Rik~
It works as expected... More or Less...0 -
Does this help?
For some reports, you may want to print a new page for each new record. In a Classic report layout, you use either the NewPagePerRecord property or the CurrReport.NEWPAGE property. In a client report definition (RDLC) report layout, the NewPagePerRecord property and the CurrReport.NEWPAGE property are not supported. To print a new page for each record in an RDLC report layout, you must do one of the following:
http://msdn.microsoft.com/en-us/library/dd338694.aspx
Perhaps a PageSize Group of 100 -
Savatage wrote:Does this help?
For some reports, you may want to print a new page for each new record. In a Classic report layout, you use either the NewPagePerRecord property or the CurrReport.NEWPAGE property. In a client report definition (RDLC) report layout, the NewPagePerRecord property and the CurrReport.NEWPAGE property are not supported. To print a new page for each record in an RDLC report layout, you must do one of the following:
http://msdn.microsoft.com/en-us/library/dd338694.aspx
Perhaps a PageSize Group of 10
The no. of rows should show is strictly to 10. So, hidden property won't work it seems since i tried with that property. In rdlc report I have two table boxes and I need to restrict those two tables 10 rows strictly within a single page. ](*,)With warm regards,
Thankesh
***Learn to lead***0 -
Create a group and use this expression to group on
Floor((RowNumber(Nothing) - 1) / 10) or Ceiling((RowNumber(Nothing)) / 10)
And set Page break at end for that group0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions