File Level Event Points


File-level event points are executed every time a specific action is performed on the designated file. These event points are accessed by the use of the Rules Option on the Files/Fields screen from the Database Management Menu in Application Design. They are used to perform standard operations in lieu of duplicating identical rules in certain event points of multiple processes or repeatedly calling the same subroutine. File-level event points are executed by the File Manager module of APPX and are independent of any other event points. The only data shared with the calling process is the record buffer. PASS and RECEIVE statements are ignored in file-level event points. However, work fields set in one file-level event point can be interrogated in another file-level event point (for the same file), without being corrupted by any intervening process or by the file-level event points for another file.

File-level event points include the following as described in the corresponding sections:

·    File Open

·    Post Read

·    Pre Update

·    Post Update

·    File Close