connect DataBAse for Form Level [message #281758] |
Mon, 19 November 2007 04:25  |
roni_a180
Messages: 45 Registered: October 2007
|
Member |
|
|
hi, i write a following code, i given uasername , password, and string in form level , and this is DataBase user,
when given username,user password is same in the database user and password then menu.fmx form is open others then message display
Message('Error -- not data base user .');
------------------
v_name := :block.username;
v_password := :block.password;
v_string := :block.string;
v_comm:=v_name||'/'||v_password||'@'||v_string;
host(v_comm);
then i write i condition
IF NOT Form_Success THEN
Message('Error -- not data base user .');
ELSE
call_form('menu.fmx');
end if;
ok
thanx
|
|
|
|
Re: connect DataBAse for Form Level [message #281766 is a reply to message #281758] |
Mon, 19 November 2007 05:00   |
roni_a180
Messages: 45 Registered: October 2007
|
Member |
|
|
hi
cause first i build a logon screen , and there r 2 input string,
1 is user name , 2 is password.
when the user and password is same the database user name and password then logon screen execute and other forms is open
|
|
|
|
|
|
|