home *** CD-ROM | disk | FTP | other *** search
- local $choice , $list
- czbreak off
- file unload all
- repaint off
- file activate custom-view "movies.vw"
- file load custom-view "invoice.vw"
- label main
- repaint on
- screen clear 14 8 no-border
- screen draw box 7 25 17 56 14 8
- screen draw box 3 25 6 56 14 8
- screen print 4 29 13 8 " V I D E O A L I V E"
- screen print 5 27 3 8 " Custom Video Shop Software."
- screen print 9 31 12 8 "P R I N T I N G . . . "
- screen print 11 30 6 8 " End of the day "
- screen print 13 30 6 8 " Report."
- screen print 15 30 15 8 " Please stand by ...."
- repaint off
-
- print report execute "eod.dfr" printer totals-only start 1 end 0 copies 1
-
- screen clear 14 8 no-border
- screen draw box 7 25 17 56 14 8
- screen draw box 3 25 6 56 14 8
- screen print 4 29 13 8 " V I D E O A L I V E"
- screen print 5 27 3 8 " Custom Video Shop Software."
- screen print 9 30 12 8 ". . . N O T I C E . . . "
- screen print 11 30 6 8 " Do you wish another"
- screen print 13 30 6 8 " end of day report ?"
- let $list = "Yes No"
- screen menu 15 36 15 48 3 8 4 15 3 $list $choice
- let $choice = group($list,$choice)
- case ($choice)
- when "No"
- jump history
- otherwise
- jump main
- end case
-
- label history
- repaint off
- file load custom-view "history.vw"
- file load custom-view "history1.vw"
- repaint on
- screen clear 14 8 no-border
- screen draw box 7 25 17 56 14 8
- screen draw box 3 25 6 56 14 8
- screen print 4 29 13 8 " V I D E O A L I V E"
- screen print 5 27 3 8 " Custom Video Shop Software."
- screen print 9 31 12 8 "U P D A T I N G . . . "
- screen print 11 30 6 8 " History Data-File"
- screen print 13 31 6 8 " Again..."
- screen print 15 30 15 8 " Please stand by ...."
- repaint off
- data utilities append "history.vw"
- keys F10
-
- data goto view "invoice.vw"
- data query execute "ret.dfq"
- file unload all
- data utilities purge "invoice.db"
-
- repaint on
- screen clear 14 8 no-border
- screen draw box 7 25 17 56 14 8
- screen draw box 3 25 6 56 14 8
- screen print 4 29 13 8 " V I D E O A L I V E"
- screen print 5 27 3 8 " Custom Video Shop Software."
- screen print 9 30 12 8 ". . . N O T I C E . . . "
- screen print 11 30 6 8 " You have now completed"
- screen print 13 30 6 8 " end of day report ?"
- screen print 15 30 15 8 " ... Good Night ..."
-
- repaint off
- file load custom-view "invoice.vw"
- data utilities change-count 1 next "invoice"
-
- file unload all
- repaint on
- file load custom-view "messages.vw"
- data UPDATE ONLY-ONE
- quit quit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-