Previous Topic: CALC: Subfile Control Function Fields

Next Topic: USER: Validate Subfile Record Fields

USER: Validate Subfile Control

Insert references to function keys (using the CTL.*CMD key) here if you want to execute the function key without regard to the validity of subfile records. You should implement these calls before confirmation of panel processing. If you want subfile data records to be processed and validated prior to executing function keys, you should place the processing in the USER: Process Command Keys user point.

If you are using some sort of pre-emptive function control or fast path processing, be sure to check relevant return codes facilitating this processing upon return from any called functions.

Based on the results of these calls (adding a record, for instance), you may want to set the program context reload subfile to yes (PGM.*Reload subfile = *YES) to refresh the panel with any changed data.

Implement checks of key processing (F15 or other function keys that cause the action *EXIT PROGRAM to be executed).