FOOTER

From CometWiki

(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
 
== FOOTER ==
== FOOTER ==
   
   
Line 25: Line 24:
  .
  .
  .
  .
 +
<pre>
  FOOTER "<H2>"
  FOOTER "<H2>"
 +
.
  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>"
 +
.
  FOOTER "</H2>"
  FOOTER "</H2>"
-
'''Bold text'''
+
</pre>
 +
 
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.

Latest revision as of 09:21, 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 "<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.