Passing Data from the Called Form to the Calling Form

Any multi-form application involves at least two forms: a calling form and a called form. Parameters help a lot in passing data from the calling form to the called form, that is, in the forward direction. Sometimes there is a requirement to pass data from the called form to the calling form.

As an example, consider an employee-department screen that lists the employee information for each department in an organization, including each employee's address. Because the address information is display only, the address of an employee is changed by means of a link to a separate address screen. Therefore, the new address must be selected in the address screen (the called form) to be populated in the employee screen (the calling form) when the address screen is exited. This data transfer in the reverse direction, that is, passing data from the called form to the calling form, can be done using global variables only.

Tip

Use parameters for passing data across two forms in the forward direction and global variables for passing data in the reverse direction, unless the same data has to be shared across multiple forms. In this case, use global variables.


GUI Development

Advanced GUI Development: Developing Beyond GUI

Multi-form Applications

Advanced Forms Programming

Error-Message Handling

Object-oriented Methods in Forms

Intelligence in Forms

Additional Interesting Techniques

Working with Trees

Oracle 8 and 8i Features in Forms Developer

show all menu





Oracle Developer Forms Techniques
Oracle Developer Forms Techniques
ISBN: 0672318466
EAN: 2147483647
Year: 2005
Pages: 115
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net