nca_tab_select_item

Tab Object Functions

Selects a tab item.

int nca_tab_select_item( LPCSTR tab, LPCSTR item );
tab The logical name of the tab.
item The item to select on the specified tab. The item is denoted by its name.

The nca_tab_select_item function selects a tab item.

Return Values

Oracle NCA Error Codes

Parameterization

The following variable can be parameterized using standard parameterization: tab

Example

In the following example, nca_tab_select_item selects Miscellaneous on the tab in focus.

nca_set_window("tfgld0508m000 : Chart of Accounts [570]");
tbl_wait_selected_cell("F1_grid", "#1", "#0",100);
toolbar_button_press("ToolbarWindow32", "#2");
nca_set_window("tfgld0108s000 : Chart of Accounts [570]");
obj_wait_info("F1_tfgld008.leac_1_1", "focused", "1",100);
nca_tab_select_item("tab", "Miscellaneous");
nca_set_window("tfgldd0008 : Chart of Accounts");
nca_button_press("OK");