nca_response_set_data

Response Object Functions

Inserts data into a response box.

int nca_response_set_data( LPCSTR name, LPCSTR data );
name The name of the response object.
data The data to enter into the specified cell.

The nca_response_set_data function inserts data into a response box. You specify the name of the response object and the data.

Return Values

Oracle NCA Error Codes

Parameterization

The following variable can be parameterized using standard parameterization: name

Example

In the following example, the nca_response_set_datafunctioninserts 5 into the Specifications box.

nca_set_window( "ACME Steel" );
nca_flex_press_lov("ACME Steel", "Entity", "");

nca_set_window( "Entity" );
nca_lov_retrieve_items("Entity",1,8);
nca_lov_select_item("Entity", "3");

nca_set_window( "ACME Steel" );
nca_flex_press_lov("ACME Steel", "Accounting", "");

nca_set_window( " Specifications " );
nca_response_set_data("Specifications ", "5");
nca_response_press_ok("Specifications");

nca_set_window( "ACME Steel" );
nca_flex_press_lov("ACME Steel", "Accounting", "");

nca_set_window( "Accounting" );
nca_lov_retrieve_items("Accounting",1,10);
nca_lov_select_item("Accounting", "53");