Home » Developer & Programmer » Forms » how to get info from runform
how to get info from runform [message #81810] Mon, 24 March 2003 08:46 Go to next message
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 Go to previous message
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
Previous Topic: Forms 6i Debugger tool (web)
Next Topic: Can item level override block level?
Goto Forum:
  


Current Time: Fri Apr 26 17:21:34 CDT 2024