DTRHELP.HLB  —  Commands Statements Clauses, SET Statement (Report Writer)
       Controls the report header and defines the size of report pages
       and the length of the report. With Report Writer SET statements,
       you can specify the following:

       o  The report header-the report name (if any), the date, page
          numbering, and their print attributes

       o  The size of report pages-the number of columns and the number
          of lines per page, or the physical paper size

       o  The orientation of the paper to be printed on.

       o  The length of the report-the maximum number of lines and the
          maximum number of pages

       o  Whether or not column headers are printed

       Format

         For naming the report:

                                                {  "string"[/ . . . ]}
         SET  REPORT_NAME =  [ ATT  att-name, ] {   *.prompt         }
                                                {                    }

         For controlling the printing of default page numbers and for
         specifying the beginning page number at the upper right of a
         page:

              {          [   { ATT att-name                 } ]  }
              {          [   {               {           }  } ]  }
              {          [   { ATT att-name, { n         }  } ]  }
              {  NUMBER  [ = {               { *.prompt  }  } ]  }
              {          [   {                              } ]  }
         SET  {          [   { { n         }                } ]  }
              {          [   { { *.prompt  }                } ]  }
              {          [   { {           }                } ]  }
              {                                                  }
              {                                                  }
              {  NO NUMBER                                       }

         For specifying a date or string at the upper right of each page
         or for disabling the printing of a date:

              {        [   { ATT att-name           }  ]  }
              {  DATE  [ = { ATT att-name, "string" }  ]  }
              {        [   {                        }  ]  }
         SET  {        [   { "string"               }  ]  }
              {                                           }
              {                                           }
              {  NO DATE                                  }

         For disabling the printing of the entire report header:

         SET NO REPORT_HEADER

         For specifying the printing of column headers:

              {  COLUMN_HEADER  =  ATT att-name }
         SET  {  NO COLUMN_HEADER               }
              {                                 }

         For specifying page width or length, or overall report length:

              { { COLUMNS_PAGE =  }                }
              { { LINES_PAGE =    } { n         }  }
         SET  { { MAX_LINES =     } { *.prompt  }  }  [, . . . ]
              { {                 } {           }  }
              { { MAX_PAGES =     }                }

         For specifying paper size:

              {              { A          }         }
              {              { B          }         }
              {              {            }         }
              {              { C          }         }
              {              { D          }         }
              {              { LETTER     }         }
              {              {            }         }
              {              { LEDGER     }         }
              {              { LEGAL      }         }
              {              { EXECUTIVE  }         }
              {              {            }         }
              {              { 7_BY_9     }         }
              {              { A1         }         }
              {  PAPER_SIZE  { A2         }         }
              {              {            }         }
              {              { A3         }         }
              {              { A4         }         }
         SET  {              { A5         }         }
              {              {            }         }
              {              { B4         }         }
              {              { C4         }         }
              {              { C5         }         }
              {              {            }         }
              {              { C6         }         }
              {              { C7/6       }         }
              {              { C5/6       }         }
              {              {            }         }
              {              { DL         }         }
              { { PAPER_HEIGHT  }      {MM  }       }
              { {               }   =n {    }       }
              { { PAPER_WIDTH   }      {IN  }       }
              {                       {           } }
              {  PAPER_ORIENTATION  = {PORTRAIT   } }
              {                       {LANDSCAPE  } }
              {                                     }
Close Help