SET PAGEWIDTH
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
SET PAGEWIDTH
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Controls the overall width of pages output by the LIST command.
Syntax
SET PAGEWIDTH num
Parameters
num | Num specifies, in characters, the width of an output page. Num can be an integer constant (e.g., 15, 200). a variable, form field, menu item, or parameter that evaluates to an integer. |
Comments
The PAGEWIDTH option is set to 80 characters by default.
If the data generated by LIST or SELECT exceeds the current PAGEWIDTH, the software assumes that the output device wraps data onto subsequent lines.
Example
set output printer
set pause on
set pagesize 40
set pagewidth 120
list all Employees sorted by Department
Here, the SET PAGEWIDTH command (together with SET PAGESIZE) sets LIST output for printing in the landscape orientation.
See Also
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5