Share this page

# nca_edit_get_text

Edit and Edit Box Object Functions

Returns the text in an edit object.

    int nca_edit_get_text( LPCSTR edit, char *out_string );

edit | The logical name of the edit object.
out_string | The output variable that stores the string found in the edit object.

The nca_edit_get_text function returns all of the text that is found in the specified edit object.

## Return Values

Oracle NCA Error Codes

## Parameterization

The following variable can be parameterized using standard parameterization: edit

## Example

In the following example, the nca_edit_get_textfunction reads the text in the Username box and saves it to a variable, val.

    int n;
    char val[10];

    nca_edit_set("FNDSCSGN.SIGNON.USERNAME.0", "<Param7>");
    nca_obj_type("FNDSCSGN.SIGNON.USERNAME.0",9,0);
    nca_edit_get_text("FNDSCSGN.SIGNON.USERNAME.0",val);
    nca_edit_set("FNDSCSGN.SIGNON.PASSWORD.0", "<Param8>");
    nca_button_press("FNDSCSGN.SIGNON.CONNECT_BUTTON.0");

    n = atoi(lr_eval_string("<Param9>"));

    lr_output_message("%d %s" ,n, val);

    if (nca_lov_retrieve_items("Responsibilities",1,n)!=E_OK) {
         popup_message_press("Error", "OK");
         return 0;
    }

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: