[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 TOF()
 Detects if the printer head is positioned to top-of-form.
 Returns <expL> true if printer is at top-of-form, otherwise false.

 Useful for preventing unnecessary line feeds with REPORT FORM commands.

 USE Dbffile
 IF TOF()
    REPORT FORM Formfile TO PRINT NOEJECT
 ELSE
    REPORT FORM Formfile TO PRINT
 ENDIF
 USE   && Close files when no longer needed


             Placed in the Public Domain by Tom Rettig Assoc.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson