Report Design: How to use tag function in report

Revision as of 08:34, 26 March 2018 by Keatmeng (talk | contribs) (Created page with "Question: How to use tag function in report? <u><b>Answer:</b></u> Tag function is a tag line that can be used to perform pre-scripted function. Previously, these pre-scri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Question: How to use tag function in report?


Answer:

Tag function is a tag line that can be used to perform pre-scripted function. Previously, these pre-scripted functions such as "printing label only at last page" requires some scripting. AutoCount has simplified this process by introducing tag function. With this tag function, users will not need to use scripting for certain function to work.

Currently AutoCount implements the following tag function in Report Designer:

1. @PageTotal – Show Page total

2. @BFPageTotal – Show accumulated page total, excluding current page

3. @PrintOnLastPageOnly – Set to print only on last page

4. @PrintOnEveryPageExceptLastPage – Set to print on every page except last page


Each of these tag functions will be shown step by step on how to implement it.

All examples below are using System Report – Invoice.


@PageTotal


1. In order to show page total, go to Report Explorer (default top right box), look for Report then right click on it. Select Insert Band > Page Footer.

2. Add 2 labels into this newly created Page Footer side by side at the bottom right.

3. Set one of the labels text to Page Amount and another one blank it

4. Type @PageTotal into the tag properties of that newly created label