how to enter into a form via login form [message #423320] |
Wed, 23 September 2009 06:23 |
dhinendra
Messages: 58 Registered: September 2009 Location: Gurgaon,India
|
Member |
|
|
hi i am dhinendra.i have create two forms.
1.login form
2.detail form
so i want that when i entered the username and password then another form will automatically opens.but i don't know the way to do this.please help me out.thanks in advance..!!!
|
|
|
|
|
|
Re: how to enter into a form via login form [message #423556 is a reply to message #423320] |
Fri, 25 September 2009 05:28 |
hydra63125
Messages: 2 Registered: September 2009 Location: Pakistan
|
Junior Member |
|
|
hi,
first u have to create a separate datablock and a canvas,named =
login > then create 2 text fields 1 is username and 2nd is password use property pallete for concealling data for password ,database to =NO and required = yes as per requirement ....
then create 2 buttons login and exit;
on login button
use when button pressed trigger-----------
and type this ------------------
-----------------------------------------------------------
if :username = 'aaiixraa' and :password = 'aaiixraa' then
go_block(ur_block);
execute_query;
else
message('not successfull');
message('not successfull');
raise form_trigger_failure;
clear_form;
end if;
------------------------------------------------------------
I hope u I would be useful as u demanded ... if else u can contacted me i will send u fmx file for that tracker_hydra@hotmail.com at hotmail and facebook or aaiixraa@hotmail.com
|
|
|
|