Home » Developer & Programmer » Forms » Open_Form & Call_Form
icon5.gif  Open_Form & Call_Form [message #132964] Wed, 17 August 2005 01:44 Go to next message
amphrodite
Messages: 21
Registered: July 2005
Junior Member

Hi everyone,

I hv problems with the open_form and call_form.Let say i hv 2 forms(form1 and form2).From form1 i will press a button to open form2.And then the value in the text item in form2 will be pass back to form1 using parameter.Suppose when i press on the OK button on form2,the value should be passed to form1 and close the form2.My problem is, the value is not passed to the calling form(form1),instead the value is passed to a new form1.

So,does anyone knows how to solve this problem?

Please help....

Tq!

Re: Open_Form & Call_Form [message #132967 is a reply to message #132964] Wed, 17 August 2005 01:53 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Use a call_form to Form 2 instead of open_form. And to get back to Form 1, just exit from Form 2.

David
Re: Open_Form & Call_Form [message #132970 is a reply to message #132967] Wed, 17 August 2005 02:11 Go to previous messageGo to next message
amphrodite
Messages: 21
Registered: July 2005
Junior Member

I need to pass a value from form2 back to form1.If i use exit_form then how can i pass the parameter back to form1?
Re: Open_Form & Call_Form [message #132973 is a reply to message #132970] Wed, 17 August 2005 02:17 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Someone else can help here but if a parameter is used in the first call, and a new value is put into it by the called form, does that parameter value get updayed in the calling form?

Use a :global or a database package specification item (assuming you are using single session).

David
icon7.gif  Re: Open_Form & Call_Form [message #132975 is a reply to message #132973] Wed, 17 August 2005 02:35 Go to previous message
amphrodite
Messages: 21
Registered: July 2005
Junior Member

Thanks,i hv solved that problem using :global.
Previous Topic: How to display forms runtime icon on system tray
Next Topic: Configuring formsweb.cfg
Goto Forum:
  


Current Time: Fri Sep 20 00:31:02 CDT 2024