Home » Developer & Programmer » Forms » problem in open_form
problem in open_form [message #272155] Thu, 04 October 2007 02:26 Go to next message
jebesh_s
Messages: 34
Registered: August 2007
Location: Chennai
Member
Dear gurus,

i have a problem with open_form,if i use open_form next line of the open form is not executing, but if i use call_form next line is executing properly.please let me know the reason why it is so?

for example:

open form
---------
OPEN_FORM('D:\FRM6I\FORMS\FOCUS.FMX');
GO_ITEM('BLOCK3.A');----------------this line is not executing
MESSAGE('AFTER OPEN FRM');
MESSAGE('');

call form
----------

CALL_FORM('D:\FRM6I\FORMS\FOCUS.FMX');
GO_ITEM('BLOCK3.A');-----------------this line is executing
MESSAGE('AFTER CALL FRM');
MESSAGE('');

advance thanks

Thanks
Jebesh.S
Re: problem in open_form [message #272189 is a reply to message #272155] Thu, 04 October 2007 03:44 Go to previous messageGo to next message
scorpio_biker
Messages: 154
Registered: November 2005
Location: Kent, England
Senior Member
Hi,

I suspect it's to do with this explanation I found

when one form invokes another form by executing open_form the first
form remains displayed, and operators can navigate between the
forms as desired. when one form invokes another form by 
executing call_form, the called form is modal with respect to 
the calling form. That is, any windows that belong to the 
calling form are disabled, and operators 
cannot navigate to them until they first exit the called form.
Re: problem in open_form [message #272210 is a reply to message #272155] Thu, 04 October 2007 04:28 Go to previous messageGo to next message
jebesh_s
Messages: 34
Registered: August 2007
Location: Chennai
Member
Thanks For your response

thanks
jebesh .s
Re: problem in open_form [message #272217 is a reply to message #272189] Thu, 04 October 2007 04:41 Go to previous messageGo to next message
jebesh_s
Messages: 34
Registered: August 2007
Location: Chennai
Member
Thanks For your response,but i am expecting to execute the rest of the line(below the line under open_form) after exit the called(child form) form

Thanks
JEBESH S
Re: problem in open_form [message #272837 is a reply to message #272217] Mon, 08 October 2007 00:07 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Then use a 'call_form'. An 'open_form' will "execute the rest of the line(below the line under open_form) after" calling the child_form (think of it as a sibling form because it is at the same level as the invoking form).

David
Previous Topic: multiple row property
Next Topic: Help
Goto Forum:
  


Current Time: Sat Dec 10 22:29:43 CST 2016

Total time taken to generate the page: 0.20095 seconds