Share this page

# nca_obj_status

Object Functions

Returns the status of an object.

    int nca_obj_status( LPCSTR name );

name | The logical name of the object.

The nca_obj_status function returns the status of the specified object.

## Return Values

Oracle NCA Error Codes

## Parameterization

The following argument(s) can be parameterized using standard parameterization: name

## Example

In the following example, the nca_obj_status function returns the status of the F1_gwindow_multiocc object in the Models box. If it is enabled, an output message is issued to the Replay Log.

Copy code

        int status;
        nca_set_connect_opt(SCALE_INFO, 8, 22);
        nca_connect_server("12.34.56.789", "9000", "module=/myAppl/cardappl/fnd/11.5.0/forms/US/FNDSCSGN fndnam=APPS record=names");
        nca_set_window("Oracle Applications");
        nca_edit_set("SIGNON_USERNAME_0", "MYUSER");
        nca_obj_type("SIGNON_USERNAME_0", '\t', 0);
        status=nca_obj_status("SIGNON_USERNAME_0");

       if (status == E_OK)
            lr_output_message("The status of the object is OK.");

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: