Share this page

# nca_lov_auto_select

List Object Functions

Specifies the first letter of a list item.

    int nca_lov_auto_select( LPCSTR name,charselection );

name | The logical name of the window containing the list of values.
selection | The first character of the item you want to select.

The nca_lov_auto_select function enters a letter indicating the first character of the item you want to select from a list of values. The item that begins with the specified letter is selected. If there is more than one item that begins with this letter, all of the matching values are displayed in the list, and you need to select an item from the new list.

## Return Values

Oracle NCA Error Codes

## Parameterization

The following variable can be parameterized using standard parameterization: name

## Example

In the following example, the nca_lov_auto_select function specifies an "h" in the Responsibilities window.

Copy code

    nca_set_window( "Responsibilities");
    nca_lov_retrieve_items("Responsibilities",1,17);
    nca_lov_auto_select("Responsibilities",'h');

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