Microsoft KB Archive/32433

User-Function Keys Satisfy ACCEPT Validation Clause

PSS ID Number: Q32433 Article last modified on 04-21-1993

3.00 MS-DOS

Summary: Normally, if a validation clause such as FULL or REQUIRED is specified in an ACCEPT statement, that clause must be satisfied before you can leave the field. For example, if you execute the following ACCEPT statement, you will not be allowed to terminate the ACCEPT unless something has been entered into the field: ACCEPT Data-Item WITH REQUIRED. The exception to this is if an enabled user-function key is pressed during an ACCEPT. These keys are regarded as “exceptions” and will terminate the ACCEPT even if the validation clause has not been satisfied. If you want function keys to terminate the ACCEPT without satisfying validation clauses, you can set Accept/Display option 9 using ADISCF to enable this feature.

Additional reference words: 3.00 Copyright Microsoft Corporation 1993.