OraFormsDisconnect Function

Action

Closes the connection between server and client. This is done automatically when a transaction exits due to an error.

Note: You must call this method to disconnect from the server. Otherwise the Oracle Forms Runtime on the server will continue running.

Include file

.bdh

Syntax

OraFormsDisconnect(
    ParamType ParamName : ParamValueType,): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
hObject Handle to a .NET Object
nReturn Integer variable that will receive the return value of the last DotNetCallMethod call

Example

dcltrans
  transaction TMain
  begin
    ...
    OraFormsConnect ( "server module=javamail90.fmx usesdi=yes userid= "
                      "sso_userid= temp_dir=C:\\orant\\forms90\\demos\\temp",
                      "http://myserver:8888/forms90demo/l90servlet?ifcfs=/forms90demo/f90servlet?config=iorg",
                      "http://myserver:8888/forms90demo/"):
    ...

   OraFormsDisconnect();
  end TMain;