Syntax:
Then: chain "name"
Then: chain "path-to-prc-table"
name=processing table in the current filePro file
path = full path to processing table in any filePro file
Version Ref: 3.x (modified in 4.8 to add CHAIN path ) (not included in filePro Lite)
Description:
CHAIN lets you load a new processing table from within a processing table. CHAIN is designed to let you develop applications for, or transfer applications to, systems with very limited memory. Use CHAIN only if your processing table is too large to fit into memory all at once. You can list a CHAIN statement on an automatic processing table for conditional access of a particular table. The chosen table will be executed when you go into update mode. Keep in mind that CHAIN does not return processing to the original table when the new table is finished. If you want to return to the original table, you must CHAIN back.
CHAIN can be used on input processing tables and on automatic processing tables for Inquire, Update, Add operations only. Loading new processing tables takes time. Avoid chaining whenever possible to keep from slowing down the user. When chaining to other tables, remember that any files you've been using for lookups remain open, unless you close them with CLOSE.
The CHAIN command cannot be used from a called processing table.