how to get info from runform [message #81810] |
Mon, 24 March 2003 08:46 |
SA
Messages: 37 Registered: March 2002
|
Member |
|
|
Hi,
In form 6.0, we have C:ORANTBINifrun60.EXE module=frmlogin.fmx userid=… to start the login form. We control which database (dev or prod) thru this commend line. In form, I want to find out which database it connects. I don't know how. In debug mode, I saw under runform, the userid contains info I needed, but I don't know if I can get userid in forms? If so, what's the syntax? Thanks,
Sa
|
|
|
Re: how to get info from runform [message #81819 is a reply to message #81810] |
Mon, 24 March 2003 18:39 |
waris
Messages: 115 Registered: November 2001
|
Senior Member |
|
|
Hi,
declare
the_username varchar2(40);
the_password varchar2(40);
the_connect varchar2(40);
begin
the_username := get_application_property(USERNAME);
the_password := get_application_property(PASSWORD);
the_connect := get_application_property(CONNECT_STRING);
END;
Hope this helps..
Cheers
waris
|
|
|