home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / clarion / brokcode.zip / DH4-1.EXE / AAAFE.ENT next >
Text File  |  1992-01-20  |  865b  |  18 lines

  1. ! file AAAFE.end, for form AAAfe
  2. ! null entry field edit line, calls AAAfn form for Status choice entry
  3.   IF (KEYCODE() > 0) OR AAA:Status = ''
  4.     TempAction# = Action        ! hold original value
  5.     AAAfn                ! call form for status choices
  6.     Action = TempAction#        ! restore action to original value
  7.     CASE KEYCODE()            ! what key was hit to exit choice form?
  8.     OF Esc_Key                !  was it ESC?
  9.       SELECT(?-1)            !    yes, go back one field
  10.     OF Reject_Key            !  was it ^ESC?
  11.       RETURN                !    yes, bail out of program (see notes)
  12.     OF Accept_Key OROF 0        !  was it ^Enter?
  13.       SELECT( ?+1 )            !    needed only if fields after Status
  14.       SELECT                !    go into save mode (see notes)
  15.       CYCLE                !    keep from hitting Designer's select
  16.     END                    !  end of keycode check
  17.   END                    ! end of "if keycode()......
  18.