Arbortext Command Language > Functions by Alphabetical Listing > tbl_edit_open
  
tbl_edit_open
tbl_edit_open (toid[, doc[, undolabel]])
This function increments the table-edit count for document doc (or for the active document if doc is omitted). This function returns 1 if it is completed successfully.
If toid is not equal to h::tblNullToid, it is used to indicate how much information Arbortext Editor must rescan if tbl_edit_close is used to undo document changes.
The optional string argument undolabel is used as the name of the operation for the Undo and Redo menu items. The function returns a 0 if the undolabel refers to a cancelled operation that cannot be tracked within a doc.
Example
tbl_edit_open(toid, doc, "Insert Row");
* 
Follow every successful call to tbl_edit_open with a call to tbl_edit_close. Failure to do so may cause Arbortext Editor to operate unexpectedly until restarted.