Home » Developer & Programmer » Forms » connect DataBAse for Form Level
( ) 1 Vote
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
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Jun 03 08:42:46 CDT 2025
|