OraFormsSetConnectMode Function

Action

Sets the type of connection that should be used during replay. Oracle Forms clients may communicate with servers using socket connections, HTTP connections or HTTPS connections. This function overrides a profile's connection setting.

Include file

OraForms.bdh

Syntax

OraFormsSetConnectMode ( in nMode :  number ) : boolean;

Return Value

  • true if successful
  • false otherwise
Parameter Description
nMode Can be one of the following values:
  ORA_SOCKET_CONNECTION
  ORA_HTTP_CONNECTION
  ORA_HTTPS_CONNECTION

Example

 dcltrans
   transaction TMain
 begin
   OraFormsSetConnectMode (ORA_HTTP_CONNECTION);
   OraFormsConnect(
      "server module=fileuploader90.fmx usesdi=yes userid=oe8/oe8@ORCL_sunserver  sso_userid="
      "debug=no buffer_records=no debug"
       "_messages=no array=no query_only=no quiet=no render=no host= port= tracegroup= log=testlog.log"
      "term= record=names");

  end TMain;