Report Printing Issue
Stivan_dsouza21
Member Posts: 218
1) Header is not printing on Every page
2) want to Print Continuted on Next page at the end of 30 lines of data printed.
2) want to Print Continuted on Next page at the end of 30 lines of data printed.
Thanks & Regards,
Stivan D'souza
Stivan D'souza
0
Comments
-
1) Check the properties of the header, maybe printofeverypage is of use.
2) You might want to count using a global variable how many times a line has been printed.
If it hits 30 then currreport.newpage.
3) there is no 30 -
1) Header is getting printed now.
2) i have written code to print 30 lines is as follows:
To put max lines of priniting do something like this .
Define a intvar such as MaxLines and on the
Report - OnInitReport()
MaxLines := 30;
after that define another intvar such as LineCounter and on the following trigger put like this
Vendor Ledger Entry - OnPreDataItem()
LineCounter := 0;
after that go to the trigger abd put the following code
Vendor Ledger Entry - OnAfterGetRecord()
LineCounter += 1;
IF LineCounter > MaxLines THEN BEGIN
CurrReport.NEWPAGE;
LineCounter := 0;
END;
3) now i want to print Continued on Next Page which i m not able to displayThanks & Regards,
Stivan D'souza0 -
IF LineCounter > MaxLines THEN BEGIN
CurrReport.NEWPAGE;
LineCounter := 0;
Continue_nvar := true;
END;
section "continue"
currreport.showoutput(continue_nvar);
continue_nvar := false;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
- 322 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