Home » Developer & Programmer » Forms » how to eliminate unwanted mesages
how to eliminate unwanted mesages [message #267793] Sat, 15 September 2007 00:54 Go to next message
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 #267795 is a reply to message #267793] Sat, 15 September 2007 00:58 Go to previous messageGo to next message
guarav.sirsa
Messages: 8
Registered: September 2007
Location: Silvassa
Junior Member
Hi Sam.
you can mention no_validate built in.
your problem will be solved
Re: how to eliminate unwanted mesages [message #267797 is a reply to message #267795] Sat, 15 September 2007 01:03 Go to previous messageGo to next message
sams
Messages: 100
Registered: August 2007
Senior Member
what is no validate.is it a build-in function.plz tell me how and where to use it.
thnks
Re: how to eliminate unwanted mesages [message #267800 is a reply to message #267797] Sat, 15 September 2007 01:10 Go to previous messageGo to next message
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 #267804 is a reply to message #267793] Sat, 15 September 2007 01:22 Go to previous messageGo to next message
azamkhan
Messages: 548
Registered: August 2005
Senior Member
in your Login form change the database property of all blocks to non database. I m sure this problem will be solved.

Regards,
Azam Khan
Re: how to eliminate unwanted mesages [message #267809 is a reply to message #267804] Sat, 15 September 2007 01:33 Go to previous messageGo to next message
sams
Messages: 100
Registered: August 2007
Senior Member
i have checked property pallet of block but there is no property "databse".
Re: how to eliminate unwanted mesages [message #267810 is a reply to message #267800] Sat, 15 September 2007 01:37 Go to previous messageGo to next message
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 #267811 is a reply to message #267809] Sat, 15 September 2007 01:38 Go to previous messageGo to next message
azamkhan
Messages: 548
Registered: August 2005
Senior Member
Check again there is a property Database Data Block in Database pellet. Make it "No".

Regards,
Azam Khan
Re: how to eliminate unwanted mesages [message #267812 is a reply to message #267809] Sat, 15 September 2007 01:41 Go to previous messageGo to next message
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
Re: how to eliminate unwanted mesages [message #267813 is a reply to message #267810] Sat, 15 September 2007 01:45 Go to previous messageGo to next message
azamkhan
Messages: 548
Registered: August 2005
Senior Member
The message which you have written showed by Forms only when a base table field is updated or a base table block's record is updated.

I will again say that you should check if there is any block or field which mentioned as Database Data Block.

And for Mr. Gaurav information regarding "But do this only if you don have any database item in ur login form which is not possible". You can create a login form that dont have any database block or item. And as a professional I would suggest that your login form shouldn't have any database item or block.

Regards,
Azam Khan
Re: how to eliminate unwanted mesages [message #267814 is a reply to message #267795] Sat, 15 September 2007 01:48 Go to previous messageGo to next message
azamkhan
Messages: 548
Registered: August 2005
Senior Member
I dont like this solution to mention no_validate built in. The reason is that you are storing a value in a base table item which you dont want and you still dont know where is a change occur.

In your code you must know the correct flow of your program. If you dont know the correct flow you will have problem in the future when you are required to do some changes in your form which is an often requirement in business.

Regards,
Azam Khan
Re: how to eliminate unwanted mesages [message #267816 is a reply to message #267811] Sat, 15 September 2007 01:51 Go to previous message
sams
Messages: 100
Registered: August 2007
Senior Member
thnks azam i have found it and it works.
thnks alot.
Previous Topic: Problem with a problem in SELECT statement (merged by LF)
Next Topic: accessing date
Goto Forum:
  


Current Time: Fri Dec 09 04:07:42 CST 2016

Total time taken to generate the page: 0.12813 seconds