FOOTER

From CometWiki

Revision as of 09:21, 6 June 2009 by Badge (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

FOOTER

Syntax:
FOOTER report-footer
Placement:
Place the FOOTER command before the REPORT command.
Discussion:
The FOOTER command sends data to the output device one time, at the end of the report.
The data following the command name is simply put into an MTB PRINT statement, so if you want to print a string you must supply the quotation marks.

To send multiple report footer lines, use multiple FOOTER commands.

Also see HEADER.

History:
The FOOTER command was added in version 01.01.
Example 1:

PRINTER TERMINAL,HTML
.
.
.
FOOTER (SpecialPrinterMnemonic);"The End"

This example shows how to specify a footer that will be displayed at the end of a report that is sent to a web browser.
Example 3:

 PRINTER TERMINAL,HTML
.
.
.
 FOOTER "<H2>"
 .
 FOOTER "<A HREF='http://...'>Click here to return to the home page</A>"
 .
 FOOTER "</H2>"

This example shows how to specify a multi-line footer that will be displayed at the end of a report that is sent to a web browser.

Personal tools