17. Forms Statements : activate Statement—Activate a Section of Code : The Frskey Condition
 
Share this page                  
The Frskey Condition
The frskey condition has the following syntax:
activate frskeyN|frskey keynumber
     [([validate = value] [, activate = value])]
begin
    program code;
end
The frskey condition causes the accompanying section of code to be executed when the user presses the control, arrow, or function key mapped to the designated FRS key. Keynumber can be an integer literal or integer variable. The number specified by N or keynumber must be from 1 to 40.
The Character-based Querying and Reporting Tools User Guide explains FRS key mapping in detail.