home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 18.13 Recsize() example
- Author: Joe Booth
- Excerpted from "Clipper 5: A Developer's Guide"
- Copyright (c) 1991 M&T Books
- 501 Galveston Drive
- Redwood City, CA 94063-4728
- (415) 366-3600
- */
-
- function can_fit
- local jj
- if recsize() < 132
- for jj = 1 to fcount()
- ?? fieldget(jj)
- next
- ?
- elseif recsize() < 255
- ?? chr(15) // Set printer to condensed print
- for jj = 1 to fcount()
- ?? fieldget(jj)
- next
- ? chr(18) // Set printer to normal printing
- endif
- return nil
-
- // end of file CHP1813.PRG
-