Print empty space rows on RTC Report

Rom
Member Posts: 64
Hi,
I like to print empty space rows to the end of a page, if the Data lines are not enough to fill it out. I need it, because we use Grid layout on the tables in the body.
I already insert a Integer Data Item at the classic report with this lines of code on the "OnPreDataItem" Trigger :
In the Classic report it works fine, but i have no idea, how i can solve it for the rtc report.
Hopefully anybody could help me?
Thanks in advance
Rom
I like to print empty space rows to the end of a page, if the Data lines are not enough to fill it out. I need it, because we use Grid layout on the tables in the body.
I already insert a Integer Data Item at the classic report with this lines of code on the "OnPreDataItem" Trigger :
Pages := NoOfLines DIV 25; NoOfLines := NoOfLines - (Pages * 25); SETRANGE(Number,1,NoOfLines);
In the Classic report it works fine, but i have no idea, how i can solve it for the rtc report.
Hopefully anybody could help me?
Thanks in advance
Rom
0
Comments
-
Hi,
I would put the 'Number' field onto the integer section in the classic report and set the field to be Visible = No.
Then in the layout I would first set the integer numbers into a table and check if it prints the correct number of lines (with 1,2,3,4 etc..), and after that hide those numbers (maybe with the 'Hidden' property or changing the font color to white or something).
No guarantee it will work, but worth the try I think.0 -
its working,
Thanks
:thumbsup:Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/5920 -
Maybe not right for your purposes but you can also add blank lines this way: in the report layout, click in the body of the report so that the little icons appear at the left end of each row on the report. You can then left click on a row icon and insert a blank line above or below it.0
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