Initializes the Oracle Forms replay engine. This function must be called prior to any other Oracle Forms function. Oracle Forms clients may directly communicate with an Oracle Forms server or they may communicate via an HTTP server that forwards requests to an Oracle Forms server. This function is used to specify how communication is to work.
OraForms.bdh
OraFormsInit( in sServlet : string allownull, in sHost : string optional, in nPort : number optional, in nVersion : number optional ): boolean;
Parameter | Description |
---|---|
sServlet | The servlet URL, if the client connects to the Oracle Forms server via a servlet. Otherwise NULL. |
sHost | The Oracle Forms server, if communication between client and server is done directly by leaving the HTTP server. This value is ignored if the first parameter is not NULL. |
nPort | The port where the Oracle Forms server is listening for client requests. Usually 9000. |
nVersion |
|
dcltrans transaction TInit begin WebSetBrowser(WEB_BROWSER_MSIE6); WebModifyHttpHeader("Accept-Language", "en,de-at;q=0.5); OraFormsInit("http://vangelis:8888/forms90demo/l90servlet", "vangelis", 9000, ORA_FORMS_9I); end TInit; transaction TShutdown begin OraFormsDestroy(); end TShutdown;