FOOTER

From CometWiki

(Difference between revisions)
Jump to: navigation, search
Line 25: Line 25:
  .
  .
  FOOTER "<H2>"
  FOOTER "<H2>"
 +
<pre>
  FOOTER "<A HREF='http://...'>Click here to return to the home page</A>"
  FOOTER "<A HREF='http://...'>Click here to return to the home page</A>"
 +
</pre>
  FOOTER "</H2>"
  FOOTER "</H2>"
'''Bold text'''
'''Bold text'''
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.
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.

Revision as of 09:19, 6 June 2009

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 "

"
 FOOTER "<A HREF='http://...'>Click here to return to the home page</A>"
FOOTER "

"

Bold text 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.