FOOTER

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(New page: 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 e...)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
-
FOOTER  
+
== FOOTER ==
-
Syntax: FOOTER report-footer   
+
-
Placement: Place the FOOTER command before the REPORT command.
+
'''Syntax:''' <br> FOOTER report-footer  <br>
-
Discussion: The FOOTER command sends data to the output device one time, at the end of the report.  
+
'''Placement:''' <br> Place the FOOTER command before the REPORT command. <br>
 +
'''Discussion:''' <br> The FOOTER command sends data to the output device one time, at the end of the report.<br>
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.  
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.  
Line 9: Line 10:
Also see HEADER.  
Also see HEADER.  
   
   
-
History: The FOOTER command was added in version 01.01.   
+
'''History:''' <br> The FOOTER command was added in version 01.01.  <br>
-
Example 1:  PRINTER TERMINAL,HTML
+
'''Example 1:'''
-
.
+
  PRINTER TERMINAL,HTML
-
.
+
.
-
.
+
.
-
FOOTER (SpecialPrinterMnemonic);"The End"
+
.
 +
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.   
+
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.<br>  
-
Example 3: PRINTER TERMINAL,HTML
+
'''Example 3:'''
-
.
+
  PRINTER TERMINAL,HTML
-
.
+
.
-
.
+
.
-
FOOTER "<H2>"
+
.
-
FOOTER "<A HREF='http://...'>Click here to return to the home page</A>"
+
<pre>
-
FOOTER "</H2>"
+
FOOTER "<H2>"
 +
.
 +
FOOTER "<A HREF='http://...'>Click here to return to the home page</A>"
 +
.
 +
FOOTER "</H2>"
 +
</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.

Personal tools