Home » Developer & Programmer » Forms » Passing parameters from one form to another form (Oracle forms 10g,Windows)
Passing parameters from one form to another form [message #436379] Wed, 23 December 2009 03:50 Go to next message
katangur.nikethan
Messages: 31
Registered: December 2009
Location: Hyderabad
Member
Hi all,
I have created two forms using the same table.The first form is 'LOGIN' form ,in that when we press Login button it should automatically display the login_id in the corresponding field(login_id field) of the next form.

Actually,the form is navigating to the next form ,but unable to pass parameters(login_id) to the second form.

Can anyone suggest the proper way for passing the parameters between forms.


Thanks in Advance


Nikethan K
Re: Passing parameters from one form to another form [message #436386 is a reply to message #436379] Wed, 23 December 2009 04:44 Go to previous messageGo to next message
cbhandari2003
Messages: 1
Registered: December 2009
Location: New Delhi
Junior Member
you can use :global variable to pass parameter between two or multiple form...
Re: Passing parameters from one form to another form [message #436391 is a reply to message #436386] Wed, 23 December 2009 05:32 Go to previous messageGo to next message
Littlefoot
Messages: 20827
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Or, use parameters (created in Object Navigator; read more in Forms Online Help System).
Re: Passing parameters from one form to another form [message #436406 is a reply to message #436379] Wed, 23 December 2009 07:33 Go to previous messageGo to next message
satishachar
Messages: 17
Registered: July 2006
Location: Mumbai
Junior Member

use global variables to pass parameters
Re: Passing parameters from one form to another form [message #436417 is a reply to message #436406] Wed, 23 December 2009 07:50 Go to previous messageGo to next message
Littlefoot
Messages: 20827
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
That is probably a worse solution than a parameter, because global variables are character strings limited to 255 characters in length, so - you'd have to pay attention to correct datatype conversion. Parameters are, on the other hand, much more flexible. But that's all in the documentation.
Re: Passing parameters from one form to another form [message #436526 is a reply to message #436417] Wed, 23 December 2009 23:45 Go to previous message
beginnerHere
Messages: 55
Registered: October 2009
Member
hi,

Littlefoot is absolutely right.

You should use parameters in the object navigator. Just consider making the parameter name same in called and calling form.
Previous Topic: Passing Parameter from Web Page to Form 6i
Next Topic: Video in Forms 6 (was Re: Microsoft Tree Control) and Run Movie on form 6i (merged)
Goto Forum:
  


Current Time: Tue Sep 27 22:57:43 CDT 2016

Total time taken to generate the page: 0.13385 seconds