Hi
I want to fix no of rows in Body in Sales Quotation Document. I want only 12 rows to print . If it is more than 12 then on next page and so on.
Thanks
*This post is locked for comments
Hi
I want to fix no of rows in Body in Sales Quotation Document. I want only 12 rows to print . If it is more than 12 then on next page and so on.
Thanks
*This post is locked for comments
In my opinion a simpler way would be to set the "MaxIteration" property to 12 on the DataItem.
Hello
i Always get an error, when doing this in business central. Has anyone got it working in bc? Please share how
Hi Yogesh
Can u little guide how to use integer DataItem. Currently i have Sales Header & Sales Line as DataItem
Thanks
Agreed with Suresh and Yogesh. I always prefered to use integer dataitem and control number of rows with the code.
Hi.
You need to write =CEILING(RowNumber(Nothing)/12) where 12 is the number of records to be displayed per page. You can refer below links.
www.mssqltips.com/.../display-a-fixed-number-of-rows-per-page-for-an-ssrs-report
mohana-dynamicsnav.blogspot.in/.../fixed-no-of-lines-in-nav-2013-rtc.html
You can write function on rdlc report layout using code window and control the no of rows to br printed on report
You can make use of the Ceiling and RowNumber as suggested by Suresh Sir.
Or you can make use of Integer Dataitem.
Write a code to maintain a number to display blank lines on layout (12 - no of lines getting printed).
Adjust your code to consider if Sales Lines are more than 12.
In Layout just add another BodyLine to iterate for specific number of blank lines to print on.
-Yogesh Kulkarni
Please verify, if you find answer helpful.
You need to create a group and use Ceiling and RowNumber function, check the below link
www.sqlchick.com/.../displaying-fixed-number-of-rows-per-ssrs-report-page.html
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156