home *** CD-ROM | disk | FTP | other *** search
- DATABASE leads
- GLOBALS "globals.4gl"
-
- REPORT r_sperson(empnum, lnm, fnm)
- {
- The r_sperson report lists the employee codes and names of salespeople
- on the screen.
- }
- DEFINE empnum LIKE sperson.empnum,
- lnm LIKE sperson.lname,
- fnm LIKE sperson.fname
-
- OUTPUT
- TOP MARGIN 0
- BOTTOM MARGIN 0
- PAGE LENGTH 22
-
- FORMAT
- PAGE HEADER
- CLEAR SCREEN
- PRINT "LIST OF CODES AND SALESPEOPLE"
- SKIP 1 LINE
- PRINT "Code", COLUMN 15, "Name"
- SKIP 1 LINE
-
- PAGE TRAILER
- CALL wwait()
-
- ON EVERY ROW
- PRINT empnum, COLUMN 15, lnm CLIPPED, ", ", fnm CLIPPED
-
- END REPORT
-