Home » Developer & Programmer » Forms » How to Read parameter values in the called form
How to Read parameter values in the called form [message #137576] Thu, 15 September 2005 10:18 Go to next message
zailsingh
Messages: 4
Registered: September 2005
Junior Member
Hi - Im new to this fourm and to oracle forms. I have a form1 on which I have say, ecode that needs to be entered by the user.

On clicking OK I want a new form to be called with the value of e.code passed to the calling form. The problem I have is how to read the ecode value entered in the form1 to be available to form2.

Thanks.
Re: How to Read parameter values in the called form [message #137640 is a reply to message #137576] Thu, 15 September 2005 18:29 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Search this forum for 'parameter' and the doco. detailed in the sticky and FAQ for 'parameter'. There are plenty of examples.

David
Re: How to Read parameter values in the called form [message #137724 is a reply to message #137576] Fri, 16 September 2005 05:44 Go to previous messageGo to next message
zailsingh
Messages: 4
Registered: September 2005
Junior Member
Hi I tried using the following method:

1) On the OK button of form1 I assign a value to the global variable by :GLOBAL.eCode:='101' and then call the form2 using call_form()
2) And on the when-new-form-instance trigger of the called form I used message(:global.eCode) to check if it is readable but it returns null


Pls help

Rgd
Re: How to Read parameter values in the called form [message #137912 is a reply to message #137724] Sun, 18 September 2005 18:45 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Okay ... you better give us the full listing of the 'last' trigger of your calling form and the 'first' trigger of your called form.

David
Previous Topic: f60gen command in windows os
Next Topic: Calling a standard form form a custom form
Goto Forum:
  


Current Time: Fri Sep 20 01:39:37 CDT 2024