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

 
Output of file : ADD.PRG contained in archive : CANS_101.ZIP
*-----------------------------------------------------------
*
* System Name: Beer Cans Inventory System
*
* Program Name: ADD.PRG
*
* Programmer: Eric L. Poole
* Date: 18 February 1988
*
* Purpose: Allows user to add records to data base
* using the APPEND command.
*
*-----------------------------------------------------------

* ---------- Initialize.

set index to browse.ndx
set status on
set color to w+/ ,gr+/ ,b
clear
go bottom

* ---------- Display title screen.

set color to bg+/r
@ 8,25 to 12,53 double
set color to w+/b

@ 9,26 say " "
@ 10,26 say " ADD RECORDS TO DATABASE "
@ 11,26 say " "

set color to w+/
@ 18,1 say " "
wait " Press any key to begin ....."

* ---------- Begin adding records.

set menu on
append

* --------- Finished. Check for trailing blank record and delete if found.

clear

if brand = " "
flag = .f.
delete

* --------- Remove deleted record.

set talk on
? "Packing file, please wait ..."
?
pack
set talk off
endif

* ---------- Return to Main Menu.

set status off
return



  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : CANS_101.ZIP
Filename : ADD.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/