8. Using Vision Advanced Features : How Writing Escape Code Works : Specifying Field or Menu Item Escape Code
 
Share this page                  
Specifying Field or Menu Item Escape Code
Certain escape code types refer to a field or menu item. Field escape codes are: Before-Field-Entry, After-Field-Change, and After-Field-Exit. Menu item escape codes are: Menu-Start and Menu-End.
When you create field or menu item escape code, Vision displays a selection list for you to specify to which field or menu item the code refers.
For field escape code, the selection list includes all fields displayed on the form, including columns from the Master and Detail tables, and any fields that you have created on the form.
The columns of a table field are preceded by "iitf." If there is a Detail table, the Detail table is a table field. For example, the part_no column of a Detail table appears as iitf.part_no. If there is no Detail table, a Master table can be displayed as a table field.
For Before-Field-Entry and After-Field-Exit escape types, the selection list also includes an "ALL" option to activate the escape on all fields of the Master table (if simple fields) and an "iitf.ALL" option to activate the escape on all table-field columns of the Detail table (or the Master table if it is a table field).
For menu item escape code, the selection list contains the menu items that you generated through the Application Flow Diagram. That is, the menu items associated with the child frames.