OraFormsLogon Function

Action

Performs a logon to an Oracle Forms Server.

Include file

OraForms.bdh

Syntax

OraFormsLogon(  in sUser     :  string, 
                in sPassword :  string, 
                in sDatabase :  string ) :  boolean;

Return value

  • true if successful
  • false otherwise
Parameter Description
sUser User name for an Oracle database.
sPassword The user's password.
sDatabase Oracle TNS name.

Example

dcltrans
  transaction TMain 
  begin 
    OraFormsConnect( "server module=module.fmx userid= useSDI=yes"); 
    OraFormsSetWindow( "Logon"); 
    OraFormsLogon( "user",  "password",  "orcl_server"); 
  end TMain;