-
Notifications
You must be signed in to change notification settings - Fork 0
pts content ribbon
| --- |
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.
- 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.
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
Let me know if you need support for other image formats.
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.
It 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.
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.
Copyright © 2002 - 2025 by Andrew Truckle. All Rights Reserved.
- Using Public Talks
- Main Application Menu
-
Database Ribbon Panel
- Assignments Editor
- Backup Database
- Check Talk Exchange
- Compact Database
- Convert Database
- Create Unassigned Date Entries
- Database Security
- Maintain Databases
- Purge Database
- Rearrange Dates
- Restore Database
- Help Ribbon Panel
-
Home Ribbon Panel
- Create a Report
-
Manage Custom Reports
- Editing Scripts
- Content Ribbon Panel
- System Ribbon Panel
- Script Command Syntax
-
Tutorials
- Using The Script Editor
-
How To Write Scripts
- Module 1 - The Basics
- Module 2 - Hello, World!
- Module 3 - Multiple Text Blocks
- Module 4 - It's A Date, Then
- Module 5 - Oh, I'm Blushing!
- Module 6 - It is a Rainbow!
- Module 7 - The Font Of All Knowledge
- Module 8 - Queue To The Right
- Module 9 - Memory Like An Elephant
- Module 10 - May I Squeeze In There?
- Module 11 - Move Over, Please
- Module 12 - You Move Over Here
- Module 13 - Is My Back A Funny Colour?
- Module 14 - I'm Going Loopy Here!
- Module 15 - Fields Of Golden... Text
- Module 16 - Man, That Looks Weird
- Module 17 - Inner Peace, Inner Loop
- Advanced Script Features
- Quick Access Toolbar
- Settings Ribbon Panel
- Tools Ribbon Panel
- Revision History
- Contact Information
|