nca_edit_press

Edit and Edit Box Object Functions

Activates the browse button in an edit field.

int nca_edit_press( LPCSTR edit );
edit The logical name of the edit field.

The nca_edit_press function activates the browse button in an edit field. This opens the list of the available values.

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_pressfunction pushes the browse button to display a list of values for Budget and Template names.

nca_tab_select_item("NAVIGATOR_REGIONS", "Functions");
nca_list_activate_item("NAVIGATOR_LIST_0", "+ Inquiry");
nca_list_activate_item("NAVIGATOR_LIST_0", " Budget");
nca_set_window("Budget Inquiry (Vision Operations)");
nca_edit_press("SELECTION_CRITERIA_BUDGET_NAME_0");   
nca_set_window("Budgets");
nca_lov_retrieve_items("Budgets",1,8);
nca_lov_select_item("Budgets", "ADJUSTED 1997|No");   
nca_set_window("Budget Inquiry (Vision Operations)");
nca_edit_press("SELECTION_CRITERIA_TEMPLATE_NAME_0");