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 3
|Pressing F1 is so much faster than opening your browser| |To-Increase|
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 display
Comments
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 3
|To-Increase|
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 display
Stivan D'souza
CurrReport.NEWPAGE;
LineCounter := 0;
Continue_nvar := true;
END;
section "continue"
currreport.showoutput(continue_nvar);
continue_nvar := false;
|To-Increase|