how to eliminate unwanted mesages [message #267793] |
Sat, 15 September 2007 00:54 |
sams
Messages: 100 Registered: August 2007
|
Senior Member |
|
|
In my login form when usewrname and password are matched new form should be open,but when i write "new_form (path)" before opening new form ,it asks "do u want to save changes".how to eliminate this message.and when i want to exit "exit_form" ,same problem occur.
plz tell me any solution
thnks
|
|
|
|
|
Re: how to eliminate unwanted mesages [message #267800 is a reply to message #267797] |
Sat, 15 September 2007 01:10 |
guarav.sirsa
Messages: 8 Registered: September 2007 Location: Silvassa
|
Junior Member |
|
|
Can i ask, Why evereyone here in this group wants a spoon feeding.
The solution is being told and then also everyone wants exact code.
cant u guys search out,something on your own
Anywayz its exit_form(no_validate);
Also if you have relationship in form, there u have change
from ask_commit to no_validate.
Your problem will be solved
Regards
Gaurav
9824978892
|
|
|
|
|
Re: how to eliminate unwanted mesages [message #267810 is a reply to message #267800] |
Sat, 15 September 2007 01:37 |
sams
Messages: 100 Registered: August 2007
|
Senior Member |
|
|
if (v_username1 = v_username) and (v_password2=v_password)
then
select login.login_id into :global.log
from login
where login.username = v_username;
new_form('D:\interface\teachinterface.fmx');
when username and password are matched ,new form opens but before opening it asks"do u want to save changes".
i have tried your solution but did'nt work.
|
|
|
|
Re: how to eliminate unwanted mesages [message #267812 is a reply to message #267809] |
Sat, 15 September 2007 01:41 |
guarav.sirsa
Messages: 8 Registered: September 2007 Location: Silvassa
|
Junior Member |
|
|
Arre yaar, cant you just write no_validate command.
This will solve your problem na.Open your eyes and look into pallet of block
"Database data bolck" is set to yes just make it no.
But do this only if you don have any database item in ur login form
which is not possible.
(Sorry Azam..but i guess you solution is not upto mark)
Regards
Gaurav
9824978892
|
|
|
|
|
|