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

 
Output of file : EDITACC.PRG contained in archive : DB3AR.ZIP
SET HEADING OFF
SET SAFETY OFF
****************************** (EDITACC.PRG)
CLEAR
USE B:CUST
SET EXACT ON
SET TALK OFF
SET CONFIRM ON
TYPE B:LINE.TXT
DO WHILE .T.
@ 18,22 SAY 'Do you want to edit an account?'
?
?
STORE ' ' TO OPTION
WAIT ' ? 'TO OPTION
IF OPTION='N'
RETURN
ENDIF
CLEAR
ACCEPT ' Please enter account number ' TO X
IF X=' '
RETURN
ENDIF
IF OPTION='Y'
LOCATE FOR ACCT=X
IF EOF()
LOOP
ENDIF EOF()
STORE RECNO() TO RECNO
?
@ 4,25 SAY 'Enter Ctrl W when finished...'
?
?
SET FORMAT TO B:CUSTEDIT.FMT
SET CONFIRM ON
EDIT RECNO
@ 2,0 CLEAR
CLOSE FORMAT B:CUSTEDIT.FMT
SET CONFIRM OFF
ENDDO
RETURN


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