Language Reference Guide : System Classes : TableField Class : CurOps Attribute
 
Share this page          
CurOps Attribute
Data Type: smallint
4GL Access: RW
Setting the CurOps attribute is used to enable or disable the append, update, and delete operations for table fields, regardless of the frame's mode.
Valid values are:
OP_NONE
Specifies that appending rows to the table field is not allowed
OP_APPEND
Specifies auto append at end of table field only
OP_APPENDINSERT
Specifies that appending or inserting rows to the table field is allowed
OP_APPENDDELETE
Specifies that auto append at the end of the table field and deleting rows are allowed
OP_APPENDINSERTDELETE
Specifies that all operations on the table field are allowed
Descriptions of system constant values and their numeric equivalents are listed in TableField Operations Settings.
When you set the CurOps attribute, OpenROAD sets the mode/Ops attribute that corresponds to the frame's current mode (specified in the CurMode attribute). It sets one of the following:
UpdateOps
QueryOps
ReadOps
User1Ops
User2Ops
User3Ops
If you set the CurOps attribute of a table field that contains nested table fields, OpenROAD does not apply the setting to the nested table fields.
Note:  The property sheet for the table field's control button has an “Edit Option Menu” button. For more information, see the chapter "Creating Basic Frames" in the Workbench User Guide.