nca_edit_set

Edit and Edit Box Object Functions

Sets the contents of an edit object.

int nca_edit_set( LPCSTR edit, LPCSTR text );
edit The logical name of the edit object.
text The new contents of the edit object.

The nca_edit_set function sets the contents of an edit object with the specified string. It replaces any existing string.

Return Values

Oracle NCA Error Codes

Parameterization

All arguments of this function may be parameterized using standard parameterization.

Example

In the following example, the nca_edit_set function inserts a line of text into several edit boxes: Header Name, Description, Control Total, and Line Number.

nca_button_press("GLXJEENT.FOLDER_QF.NEW_HEADER.0");
nca_edit_set("GLXJEENT.HEADER.NAME.0", "Managers San Jose");
nca_edit_set("GLXJEENT.HEADER.DESCRIPTION.0", "San Jose Managers Guide");
nca_edit_set("GLXJEENT.HEADER.CONTROL_TOTAL.0", "45678");
nca_edit_set("GLXJEENT.LINES.JE_LINE_NUM.0", "1");