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 :
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
Comments
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.
RTC Printouts Made Easy
NaviNordic Document Configurator for Dynamics NAV
Thanks
:thumbsup:
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592