home *** CD-ROM | disk | FTP | other *** search
/ Software Du Jour / SoftwareDuJour.iso / BUSINESS / DBASE / DB2IOS.ARC / VERIFNEW.SIG < prev    next >
Encoding:
Text File  |  1983-01-04  |  2.9 KB  |  101 lines

  1. * verifnew.sig 08/18/83
  2. * when a new record is written true is written to a logical variable
  3. * called new. this module give you the chance to review all new orders
  4. * if satisfactory - you then change new to false by accepting the entry
  5. @ 07,22 SAY 'LOOKING for unverified NEW records'
  6. GOTO top
  7. LOCATE FOR new
  8. STORE t TO more
  9. DO WHILE more .AND. (.NOT.EOF)
  10.     ERASE
  11.     STORE 'Verify New Records' TO mode
  12.     STORE '<A>ccept, <C>ontinue, <D>elete/Recall' TO prompt1
  13.     STORE '<E>dit, <P>rint, <Q>uit' TO prompt2
  14.     STORE ' ' TO prompt3
  15.     STORE '?' TO command
  16.     IF *
  17.         STORE 'Deleted' TO deleted
  18.     ELSE
  19.         STORE '       ' TO deleted
  20.     ENDIF *
  21.     @  1,25 SAY mode
  22.     @  2, 0 SAY "+--------------------------------------"
  23.     @  2,39 SAY "----------------------------------------+"
  24.     @  3, 5 SAY "ORDER NUMBER:"
  25.     @  3,43 SAY "Complete:"
  26.     @  4, 8 SAY "Last name:"
  27.     @  4,46 SAY "First:"
  28.     @  5,10 SAY "Address:"
  29.     @  6, 9 SAY "(line 2):"
  30.     @  7, 9 SAY "(line 3):"
  31.     @  8,13 SAY "City:"
  32.     @  8,46 SAY "State:"
  33.     @  8,65 SAY "ZIP:"
  34.     @ 10, 2 SAY "Volumes:"
  35.     @ 12, 3 SAY "Amount:"
  36.     @ 12,46 SAY "Enter:"
  37.     @ 12,64 SAY "Ship:"
  38.     @ 13, 2 SAY "Remarks:"
  39.     @ 14, 2 SAY "Remarks:"
  40.     @ 16, 0 SAY "Backorder:"
  41.     @ 17,44 SAY "Catalog:"
  42.     @ 18, 2 SAY "Shipped:"
  43.     @ 18,26 SAY "Shipped:"
  44.     @ 18,62 SAY "Update:"
  45.     @ 19, 0 SAY "+--------------------------------------"
  46.     @ 19,39 SAY "----------------------------------------+"
  47.     @ 20,12 SAY prompt1
  48.     @ 21,12 SAY prompt2
  49.     @ 22,12 SAY prompt3
  50.     @  1, 0 SAY deleted
  51.     @  3,19 SAY order
  52.     @  3,53 SAY comp
  53.     @  4,19 SAY lname
  54.     @  4,53 SAY fname
  55.     @  5,19 SAY addr1
  56.     @  6,19 SAY addr2
  57.     @  7,19 SAY addr3
  58.     @  8,19 SAY city
  59.     @  8,53 SAY state
  60.     @  8,70 SAY zip
  61.     @ 10,11 SAY vol1
  62.     @ 12,11 SAY amt using '$###.##'
  63.     @ 12,53 SAY entered
  64.     @ 12,70 SAY shipped
  65.     @ 13,11 SAY rem1
  66.     @ 14,11 SAY rem2
  67.     @ 16,11 SAY bo
  68.     @ 17,53 SAY catalog
  69.     @ 18,11 SAY bo:ship
  70.     @ 18,35 SAY bo2:ship
  71.     @ 18,70 SAY dayu
  72.     @ 22,56 SAY 'WHAT NEXT?'
  73.     @ 22,70 GET command PICTURE '!'
  74.     READ
  75.     DO CASE
  76.         CASE command = 'A'
  77.             * remove mark of a new record
  78.             REPLACE new WITH f
  79.             continue
  80.         CASE command = 'D'
  81.             IF *
  82.                 RECALL
  83.             ELSE
  84.                 DELETE
  85.             ENDIF *
  86.         CASE command = 'E'
  87.             DO edit.sig
  88.         CASE command = 'P'
  89.             DO print.sig
  90.         CASE command = 'Q'
  91.             * set up loop to exit
  92.             STORE f TO more
  93.         CASE command = 'C'
  94.             continue
  95.     ENDCASE
  96. ENDDO while more
  97. RELEASE mode, prompt1,prompt2,prompt3
  98. STORE t TO more
  99. STORE '?' TO command
  100. STORE t TO first
  101.