Home » Developer & Programmer » Forms » what's different between do_key ('exit_form'); and exit_form; ? (Forms10g , DB 10g R2 , XP SP2)
icon4.gif   what's different between do_key ('exit_form'); and exit_form; ? [message #336115] Thu, 24 July 2008 19:50 Go to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

when we make WHEN-BUTTON-PRESSED trigger on any button , and then write :-

exit_form;


it's exactly the same like :-

do_key('exit_form');


so ...... what's the different here between the both ?
and when should I use it and don't use the other ?
Re: what's different between do_key ('exit_form'); and exit_form; ? [message #336128 is a reply to message #336115] Thu, 24 July 2008 23:06 Go to previous messageGo to next message
singh.abc@gmail.com
Messages: 1
Registered: September 2006
Location: Gurgaon
Junior Member
Actually Exit_form will exit you from the application.
But do_key - If there is any trigger Key-exit then that trigger will also execute.
Re: what's different between do_key ('exit_form'); and exit_form; ? [message #336155 is a reply to message #336115] Fri, 25 July 2008 01:10 Go to previous messageGo to next message
mm_kanish05
Messages: 487
Registered: January 2007
Location: Chennai
Senior Member

Hi
Exactly correct singh

But it will not coming out from Form.

Can i know why.

Kanish
Re: what's different between do_key ('exit_form'); and exit_form; ? [message #336276 is a reply to message #336155] Fri, 25 July 2008 08:47 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

well .......... download the attachment ....... mine working OKay
Re: what's different between do_key ('exit_form'); and exit_form; ? [message #336366 is a reply to message #336115] Fri, 25 July 2008 22:55 Go to previous message
mm_kanish05
Messages: 487
Registered: January 2007
Location: Chennai
Senior Member

Hi Hany

Did you check my attachment have one more trigger is there key - exit. Without Key-exit is working that is i know.

I feel You forgot your question. I feel you have short term memory loss.

Check your First Question.

kanish




Previous Topic: unable to find option to create control block in developer 6i
Next Topic: Populate List
Goto Forum:
  


Current Time: Sat Dec 10 20:49:51 CST 2016

Total time taken to generate the page: 0.15108 seconds