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

 
Output of file : CLOSEOUT.PRG contained in archive : DB3AR.ZIP
********************(CLOSEOUT.PRG)
CLEA
@ 12,1 SAY 'This will delete all of the paid invoices from the 
active invoice file,'
@ 13,1 SAY 'and copy them to a .DBF file named PAID.DBF'
@ 15,1 SAY 'It will also remove completely any invoices or 
customers you have'
@ 16,1 SAY 'marked for deletion by using CTRL U to delete while 
in the EDIT INVOICE'
@ 17,1 SAY 'option or EDIT CUSTOMERS option.'
@ 20,22 SAY 'Is this what you want to do? '
?
STORE ' ' TO OPTION
WAIT ' ? ' TO OPTION
IF OPTION<>'Y'
CLEA
@ 15,20 SAY 'Press F9 to return to main menu....'
RETURN
ENDIF
CLEA
SET TALK ON
? 'Appending records to PAID.DBF file...'
USE B:PAID
APPE FROM B:INV FOR PAID
? 'Looking for invoices marked for deletion...'
USE B:INV INDE B:ACCTS
DELE FOR PAID
? 'Out they go...'
PACK
USE B:CUST INDE B:ACCT
? 'Removing deleted customers...'
PACK
SET TALK OFF
CLEA
@ 15,20 SAY 'Press F9 to return to main menu...'


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