Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : CANS_101.ZIP
Filename : REPORT4.PRG

 
Output of file : REPORT4.PRG contained in archive : CANS_101.ZIP
*--------------------------------------------------------------
*
* System Name: Beer Cans Inventory System
*
* Program Name: REPORT4.PRG
*
* Programmer: Eric L. Poole
* Date: 15 February 1988
*
* Purpose: Lists cans by Beverage, Brand, and Size
* to Screen or Printer.
*
*--------------------------------------------------------------

* ---------- Initialize.
set color to w+/

clear

* ---------- Create Temporary Index.

index on upper(bev) + upper(brand) + str(size,5,1) to temp.ndx
set index to temp.ndx

* ---------- Prompt for Output Choice.

Accept "Send report to Screen or Printer (S/p)?" to choice

* ---------- Check for Printer Output.

if upper(choice) = "P"
set print on
endif

* ---------- Print Report.

set color to gr+/
?
report form report4.frm

* ---------- Finished Printing.

set print off

set color to r+/
?
? "Report Completed ...."
?

set color to w+/
wait "Press any key to return to Reports Menu."

* ---------- Turn Index off.

set index to
erase temp.ndx

* ---------- Return to Reports Menu.

return


  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : CANS_101.ZIP
Filename : REPORT4.PRG

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/