Script routine to be invoked when a block-level action is about to take place. The routine has one arguments which the action code; this will be the block. A false result aborts the action.
On current (oncurrent)Script routine to be invoked when a record becomes current. The function takes one argument, the row number; this will be the block.
On uncurrent (onuncurrent)Script routine to be invoked when a record ceases to be current. The routine takes one argument, the query row being left; this will be the block.
On display (ondisplay)Script routine to be invoked when a record is displayed. The routine takes one argument, the query row being displayed; this will be the block.
Pre-Query (prequery)Script routine to be invoked just before select query is executed. The function takes no arguments; this will be the block.
Pre-Insert (preinsert)Script routine to be invoked just before a new row is inserted into a table. The function takes one argument, the query row number; this will be the block. Insert is aborted unless the function returns true.
Pre-Update (preupdate)Script routine to be invoked just before a row is updated in a table. The routine takes one argument, the query row number; this will be the block. Update is aborted unless the function returns true.
Pre-Delete (predelete)Script routine to be invoked jusst before a row is deleted from a table. The routine takes one argument, the query row number; this will be the block. Deletion is aborted unless the function returns true.
Post-Query (postquery)Script routine to be invoked just after a select query has been issued, but before any data is displayed. The function has no arguments; this will be the block.
Post-Sync (postsync)Script routine to be invoked just after an insert, update or delete query has been issued. The routine takes three arguments; the query row, the action and the primary key of the affected row; this will be the block.
On change (onchange)Script routine to be invoked when the value assicated with any data control within the block is changed by the user. The routine takes one argument, the query row number; this will be the block.