Share this page

# nca_response_press_ok

Response Object Functions

Presses OK in a response box.

    int nca_response_press_ok( LPCSTR name );

name | The name of the response object.

The nca_response_press_ok function presses OK in the specified response box.

## 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_press_okfunctionpressesOKin the Specifications response 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_cell_data("Specifications ", "Thickness", "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");

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: