Overview of the Content ribbon panel:

Content Ribbon PanelPrint ScriptClose EditorScale ViewHelpTutorialChange FontInsert TextInsert DateEnd of LineInsert ImageBlank LinesInsert FieldDatabase LoopLookup FieldMeet TimeInsert TabInsert SeparatorEnd of Page

The CONTENT panel is part of the Custom Script Editor. You can using this panel to insert new script commands into your custom script.

To learn more about the features of this ribbon panel, glance down the table below or highlight the control you are interested in by clicking on the screenshot above.


Editor

  • Print Script

Select Print Script if you want to print out the raw script file. This is useful if you want to have a hard copy of the script as a backup.

Pressing Close Editor will shut down the editor. The two extra ribbon panels CONTENT and SYSTEM will no longer be visible.

Sets the initial scale of the view in the editor. The view can either be:

    • Scaled to view the whole page
    • Scaled to fit the page width
  • Help

Select Help to display this help topic.

Select Tutorial to display the first of three tutorials about custom report scripting.


Fonts & Text

Used to adjust a variety of font properties including:

    • Banner colour
    • Font name, size and style (bold, italic, underline)
    • Highlight colour
    • Text alignment

Used to insert text, including variables and expressions into the report.

Used to insert either today's date or the range start / end dates in a variety of formats.

Causes all pieces of text issued since the last EOL (or the beginning of the script) to be output in the colours and fonts selected.

Used to insert an image into your report. The image formats supported are:

    • BMP
    • GIF
    • JPG
    • PNG

Note IconLet me know if you need support for other image formats.


Loops & Fields

This is the most powerful script command that you will need to use at least once in your custom reports. It displays the Insert DB Loop window for you to create / modify a LOOP command.

A LOOP is used to walk through a list of rows in a specified database table one at a time until there are no more. This allows you to embed FIELD commands to print out contents of that row repeatedly.

There are quite a few options on the Insert DB Loop window, so there is a separate help topic.

Note IconIt is important that you understand how to use the loop script command correctly so please click on the link if you have not already done so.

Used to insert the contents of a field into the report.

Used to save the value of a field from one database row into a variable.

Used to insert the congregation meeting time into the report.


Tabs & Pagination

Used to insert a tab stop at a specific location in the report.

Used to insert blank lines into the report.

This draws a horizontal line across the page in a certain style and for a certain percentage of the page. The line drawn is always centred and uses the current colour (FONT and BANNER) settings.

Used to change the active line spacing.

  • End of Page

This issues an end of page command. There are no options for this command. A possible reason for using this command is during a LOOP. Within the loop you could put an end of page command at the bottom. That would ensure that each iteration of the loop would start on a new page. The start of a new page is indicated by a dashed line in the editor. Read more: Command Syntax.