Archive for July 4th, 2008


MS Navision - Report Functions

CurrReport.SKIP - skips current record of the current data item. If a record is skipped, it is not included in totals and it is not printed.
Skipping a record is slower than not reading it so use filters.

CurrReport.BREAK - skip the rest of the processing of the data item that you are currently processing.

CurrReport.QUIT - skips the rest of the report.

CurrReport.PAGENO - return the current page number of report/set new page number.

CurrReport.CREATETOTALS - maintain totals for a variable.
This must be used in OnPreDataItem trigger of data item.

CurrReport.TOTALSCAUSEDBY - determine which field cause a break to occur.
Mostly used in OnPreSection of GroupHeader and GroupFooter.
Must be used when grouping more than one field for a single data item.

CurrReport.NEWPAGE - force a page break when printing a report.

CurrReport.PREVIEW - determine whether a report is being printed in preview mode.

CurrReport.SHOWOUTPUT - return the current setting of whether a section should/should not be displayed.
Must be used in OnPreSection trigger of a section.




Welcome to Kaizenlog.com If you're new here, you may want to subscribe to my RSS feed , Twitter You can contact us by using the contact form or submitting a comment. You can also share this post with your friends by clicking on the 'ShareThis' button above. Thanks for visiting!

Comments No Comments »