Example: nca_connect_server

In the following example, the nca_connect_serverfunction connects to the sol01 server at port 9000. The command line specifies the database module and the user ID for access to the database.

nca_connect_server("sol01", "9000"/*version=107*/, 
          "module=e:\\appsnca\\fnd\\7.5\\forms\\us\\fndscsgn
          userid=applsyspub/pub@vision fndnam=apps");
nca_edit_set("FNDSCSGN.SIGNON.USERNAME.0", "VISION");
nca_obj_type("FNDSCSGN.SIGNON.USERNAME.0",'\t',0);
nca_edit_set("FNDSCSGN.SIGNON.PASSWORD.0", "WELCOME");
nca_button_press("FNDSCSGN.SIGNON.CONNECT_BUTTON.0");