home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
jobhunt.zip
/
JOBEDIT.PRG
< prev
next >
Wrap
Text File
|
1987-02-04
|
3KB
|
91 lines
* PROGRAM..: JOBEDIT.PRG
* DATE.....: 03/21/87
* AUTHOR...: DENNIS W. CHRISTENSEN
* ADDRESS..: 5799 RAYBURN AVE., APT 261, ALEXANDRIA, VA 22311
* NOTICE....: COPYRIGHT 1986, ALL RIGHTS RESERVED
*
SET TALK OFF
SET BELL OFF
SET COLON OFF
ERASE
*
USE EMPLOYER
GO TOP
*
STORE 0 TO mNUM
STORE T TO ADD
DO WHILE ADD
STORE ' ' TO ANS
@ 1,25 SAY "** EDIT EMPLOYER RECORD **"
@ 3,10 SAY "ENTER COMPANY NUMBER(001)|";
GET mNUM PICTURE '999'
READ
LOCATE FOR mNUM = #
IF .NOT. EOF .AND. COMPANY # ' '
@ 2, 0 ERASE
@ 3, 5 SAY "COMPANY:";
GET COMPANY PICTURE 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
@ 4, 5 SAY "KEY PERSON:";
GET KEYPERS1 PICTURE 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
@ 5, 5 SAY "ADDRESS:";
GET ADDRESS PICTURE 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
@ 6, 5 SAY "CITY:";
GET CITY PICTURE 'XXXXXXXXXXXXXXXXXXXX'
@ 6,35 SAY "STATE:";
GET STATE PICTURE 'XX'
@ 6,49 SAY "ZIPCODE:";
GET ZIP PICTURE '99999.9999'
@ 7,5 SAY "PHONES:";
GET PHONE PICTURE 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
@ 9, 5 SAY "COMPANY PURPOSE:";
GET PURPOSE PICTURE 'XXXXXXX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SAY " RECORD DOES NOT EXIST..."
@ 24,10 WAIT
ENDIF
*
* This routine allows for another record to be added.
@ 24,10 SAY "DO YOU WANT TO EDIT ANOTHER EMPLOYER RECORD? (Y/N) ";
GET ANS PICTURE '!'
READ
IF ANS = "Y"
ERASE
SELECT PRIMARY
APPEND BLANK
LOOP
ELSE
STORE F TO ADD
ENDIF
ENDDO WHILE ADD
USE
CLEAR
RELEASE
RETURN
* EOF: JOBEDIT.PRG
XXXXXXXXXXXXXXXXXXXXX'
@ 18, 5 SAY " ";
GET REM4