Phone: 0435 361 715 Email: [email protected]

The Layout section enables you to modify the design of your template.

To design a template, you firstly need to add bands. These are the sections of the page. There are several different types of bands available. They are:
  • Page Header -
  • Title -
  • Column Header -
  • Details -
  • Summary -
  • Page Footer -
  • Group Header -
  • Group Footer -
  • Child -
On each band you then add components. The available components are:
  • Text -
  • Equation -
  • Text Box -
  • Equation Box -
  • Image -
  • Line -
  • Box -
  • Logo -
Calculated fields in bands and components can use a few different Blaq variables. Some of them are only available if their related parameters are used for the template. They are:
  • [P:Page_No] - the current page number
  • [P:Page_Total] - the total number of pages. Note that this is calculated and then inserted when the document is finished, therefore it is only of use for display purposes, not for calculations.
  • [P:Page_Last] - is set to true if this is the last page, otherwise false.
  • [P:Branch_Name] - the name of the branch chosen in the parameters.
  • [P:Company_Name] - your company's name.
  • [P:Report_Date] - the dates the template is run for. It is either a single date or a date range, depending on the parameters for the template.
  • [P:Start_Date] - the start date entered in the parameters.
  • [P:End_Date] - the end date entered in the parameters.
  • [P:Batch_Number] - the batch number entered in the parameters.
  • [Q#:Field_Name] - a database field. The # should be replaced by the number of the query and Field_Name is the name of the database field, e.g. [Q1:Account_Name].
  • [V:Variable_Name] - a variable. This can be used for calculations whilst the template is being run. Create as many variables and name them as you like, e.g. [V1:Report_Total].

Last modified: 1/07/2009