nca_flex_set_cell_data_press_ok

Flexfield Window Functions

Presses OK in a Flexfield window after data was entered.

int nca_flex_set_cell_data_press_ok( LPCSTR name, LPCSTR row, LPCSTR column, LPCSTR data );
name The logical name of the Flexfield window.
row The name or row number of the field.
column The parent name or column number of the field.
data The cell data.

The nca_flex_set_cell_data_press_ok function presses the OK button in a Flexfield window, after data was entered into a Flexfield manually (not selected from a list of values).

Return Values

Oracle NCA Error Codes

Parameterization

All input string arguments (char type) can be parameterized using standard parameterization.

Example

In the following example, the nca_flex_set_cell_data_press_okfunction presses the OK button in the Flexfield window, after entering values. The first value for Company, 04, was invalid, and an error message was issued. The user entered a new value, 01, and pressed OK.

nca_flex_press_find("Operations Accounting Flex");
nca_flex_set_cell_data_press_ok("Find", "Company", "Find", "04");
nca_popup_message_press("Error", "OK");
nca_flex_set_cell_data_press_ok("Find", "Company", "Find", "01");