10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table Field OperationsThe following settings determine whether a user can append rows to a tablefield:OP_APPENDSpecifies that the user can append rows to the end of the array by movingthe cursor past the last row displayed in the table fieldOP_NONESpecifies that the user cannot append rows to the end of the array bymoving the cursor past the last row displayed in the table fieldOP_APPENDINSERTSpecifies that the user can append or insert rows to the table fieldOP_APPENEDDELETESpecifies automatic append at the end of the table field and that the usercan delete rowsOP_APPENDINSERTDELETESpecifies that the user can perform all operations on the table fieldThe setting that you specify with these attributes occurs only when the frameis in the corresponding mode. For example, if you set the QueryOps attributewhile the frame is in Read mode, the QueryOps setting does not take effectuntil the frame is displayed in Query mode.To change the setting immediately, regardless of the frame's mode, use theCurOps attribute of the TableField system class. This attribute accepts thesame two settings as do the other operations attributes.OpenROAD changes the operation setting for the current mode of the frame tothe setting specified for the CurOps attribute. For example, if a frame is inUpdate mode and you set CurOps to OP_APPEND, then OpenROADautomatically sets the UpdateOps attribute to OP_APPEND also.How You Can Copy Data to PC ClipboardCopying to the PC Clipboard can be accomplished from OpenROAD with theTableField CopyToClipboard method. For more more information, see onlinehelp.CopyTable is also an option on the default menu of a table field's controlbutton. Data is copied in a format compatible with formats that manyspreadsheet programs can use to import data.244 <strong>Programming</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!