Previous Topic: USER: Delete Object

Next Topic: CALC: Detail Screen Function Fields

USER: Validate Detail Screen Fields

Insert references to function keys here using the CTL.*CMD key 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 the data record to be processed and validated prior to executing function keys, place the processing in the USER: Process Command Keys user point.

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

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

You should avoid calling another function from a panel that updates the record you are maintaining since you are likely to receive the error message, Record Has Been Updated by Another User, when this function attempts a database update. This is because the record image on the database has changed since it was last saved.