Re: Custom logon screen?

From: Tina Tran <tinat_at_sonica.com>
Date: 1997/10/10
Message-ID: <01bcd537$263a16f0$2aaeb6cc_at_dino>#1/1


Did you try to place the LOGON procedure in the ON-LOGON trigger of the main form instead of
the WHEN-NEW-FORM-INSTANCE trigger?

Donald Raymond Lloyd II <don_at_copland.udel.edu> wrote in article <61k2go$f8$1_at_copland.udel.edu>...
>
> I want to bypass the built-in login dialog in forms 4.5 and use a custom
 form
> to log into an Oracle 7.x.y.z.a.b.c.d.whatever instance. I know I can
 bypass
> the login by simply putting 'null;' in the ON-LOGON trigger of the form
> that's opened initially.
>
> Here's the way I was trying to do this:
>
> My custom logon form is run initially, with logon disabled as mentioned
> above. The user enters the appropriate info and clicks OK. NEW_FORM is
> called to replace the login form with the main form, with the login
> info being passed as paramters. The first thing that happens in the
> WHEN-NEW-FORM-INSTANCE trigger of the main form is a call to LOGON.
>
> As soon as LOGON is called, the Forms runtime crashes.
>
> Is there any way to get a custom login form working somehow? Is there
> a way to call external programs from Forms? (I figure if I get really
> desperate, I can build a command line including the connect info from
> the logon screen, then run a new instance of the runtime from there...)
>
>
>
> --
> Don Lloyd don_at_udel.edu
> Visit Six In A Mustang http://www.geocities.com/MotorCity/Downs/8895
>
>
Received on Fri Oct 10 1997 - 00:00:00 CEST

Original text of this message