Difference between revisions of "SET PAGEWIDTH"

From Recital Documentation Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET PAGEWIDTH=
 
 
 
==Class==
 
Printing
 
 
 
 
==Purpose==
 
==Purpose==
 
Defines page width in output files
 
Defines page width in output files
Line 11: Line 4:
  
 
==Syntax==
 
==Syntax==
SET PAGEWIDTH TO <expN>
+
SET PAGEWIDTH TO <expN>
  
  
 
==See Also==
 
==See Also==
SET HEADING, LIST, DISPLAY, REPORT, BROWSE, SET DESCRIPTION
+
[[BROWSE]], [[DISPLAY]], [[LIST]], [[REPORT]], [[SET DESCRIPTIONS]], [[SET HEADING]], [[SET PAGELENGTH]]
  
  
 
==Description==
 
==Description==
The SET PAGEWIDTH TO <expN> command sets the width in an output file created from one of the DISPLAY | LIST...TO FILE commands.  The page number is centered accordingly on the bottom line of the page.  When used in conjunction with the LIST | DISPLAY ... TO FILE, SET DESCRIPTION, SET PAGELENGTH and SET HEADING TO commands, SET PAGEWIDTH provides the ability to produce quick reports.
+
The SET PAGEWIDTH TO <expN> command sets the width in an output file created from one of the DISPLAY | LIST...TO FILE commands.  The page number is centered accordingly on the bottom line of the page.  When used in conjunction with the LIST | DISPLAY ... TO FILE, SET DESCRIPTIONS, SET PAGELENGTH and SET HEADING commands, SET PAGEWIDTH provides the ability to produce quick reports.
  
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
set pagelength 60
+
set pagelength to 60
 
set pagewidth to 65
 
set pagewidth to 65
 
use demo
 
use demo
 
list fields acc_prefix, acc_no, ord_value, name;
 
list fields acc_prefix, acc_no, ord_value, name;
to file accounts.txt;
+
  to file accounts.txt;
for ord_date = ("01/01/00")</pre>
+
  for ord_date = ("01/02/2009")
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|PAGEWIDTH]]
 +
[[Category:Printing]]
 +
[[Category:Printing Set Commands]]

Latest revision as of 16:33, 23 November 2009

Purpose

Defines page width in output files


Syntax

SET PAGEWIDTH TO <expN>


See Also

BROWSE, DISPLAY, LIST, REPORT, SET DESCRIPTIONS, SET HEADING, SET PAGELENGTH


Description

The SET PAGEWIDTH TO <expN> command sets the width in an output file created from one of the DISPLAY | LIST...TO FILE commands. The page number is centered accordingly on the bottom line of the page. When used in conjunction with the LIST | DISPLAY ... TO FILE, SET DESCRIPTIONS, SET PAGELENGTH and SET HEADING commands, SET PAGEWIDTH provides the ability to produce quick reports.


Example

set pagelength to 60
set pagewidth to 65
use demo
list fields acc_prefix, acc_no, ord_value, name;
  to file accounts.txt;
  for ord_date = ("01/02/2009")


Products

Recital Server, Recital