Re: Logout/Logon - Forms5.0

From: Steve Cosner <stevec_at_zimmer.csufresno.edu>
Date: 12 Feb 1999 16:37:14 GMT
Message-ID: <7a1lbq$5oi$1_at_nntp.csufresno.edu>


In article <79v0fb$8sh$1_at_newshost.lanl.gov>, Panowski <panowski_at_lanl.gov> wrote:
>I'm trying to logout of one form, and logon to another via the logon_screen
>function with a when-button-pressed trigger. Users need to be able to log
>into a 'read only' form first. This I'm able to do successfully with an
>On-Logon trigger. Privileged users then need to click a button that logs
>them out from the current user, displays Oracle's logon screen, and allows
>them to logon with their own schema, and go to a second form. The logout
>works [logout;], the logon screen appears [logon_screen], the second form
>appears [call_form('form2');], but the connection is not made to the second
>form via the logon screen??

Something does not "fit" with your description. You do not "logout of a form" and "logon to another". Logon and Logoff control your connection to the server, and do not switch to a different form. You are talking about two distinctly separate functions. Use your read-only form to establish the connections to whichever user/password_at_server you need, and after that has been established, switch to the second form.

Be aware that Call_Form leaves the first form running. Maybe you should be using New_Form instead.

Regards,
Steve Cosner



http://members.aol.com/stevec5088
Downloadable Quick Access utility form: Display and update any table. Received on Fri Feb 12 1999 - 17:37:14 CET

Original text of this message