Hi all!
I am new to Navision and I have some problems creating a report.
I am making a sales invoice report with these DataItems:
DataItem Name
Sales Invoice Header <Sales Invoice Header>
No. Series <No. Series>
Integer CopyLoop
Integer PageLoop
Sales Shipment Header <Sales Shipment Header>
Integer DimensionLoop1
Sales Invoice Line <Sales Invoice Line>
Integer DimensionLoop2
Integer BlankLine
Integer VATCounter
Integer Total
Integer Total2
The sections are these:
The report looks like this:
What I need is the Description to be fixed. For example it should contain max 20 records (items) and If I have more (for example 30), they should be printed in the second page. In the second page the Description section should be exactly the same.
Or if I have just one item in this report, the Description section should have the same shape.
I am a rookie in programming with navision, so please be very analytic. Thanks!
Answers
OnPostSection()
LinesPerPage := LinesPerPage + 1;
IF LinesPerPage > 20 THEN
CurrReport.NEWPAGE;
http://www.BiloBeauty.com
http://www.autismspeaks.org
What I need is the shape of the Description section to remain the same on every page regardless of the records that contains.
Thanks though, we are one step closer now.
http://www.BiloBeauty.com
http://www.autismspeaks.org