Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CLIPWKS -Spreadsheet Library - <b>lheader()</b> <b>printwks.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
lheader()                                                         PRINTWKS.PRG
------------------------------------------------------------------------------------------
 Purpose
   Write header string into the spreadsheet

 Syntax
   Lheader( aSpreadsheet,cHeading )

 Parameters
   aSpreadsheet   - Spreadsheet handle array
   cHeading       - Heading string

 Returns
   nStatus   -   0  All ok
                -6  Invalid parameters

 Notes
   The header string gets printed at the top of each page whenever the
   spreadsheet is printed.  The Lheader() function is used to specify
   this string. It may be up to 240 characters long.

 Example
function HeaderDemo
    LOCAL aWks   := Lcreate("PAYROLL","L3")

    if !empty(aWks)
       Lheader(aWks,"GRUMPFISH, INC.")
       Lfooter(aWks,"For review only")
       Lclose(aWks)
    endif
return nil

 Category
   Creating spreadsheet files

See Also: Lfooter()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson