3. Programming Frames : How You Can Invoke Frames : Differences Among the Frame-invoking Statements : How You Can Pass Parameters Between an Active Child and a Closed Parent
 
Share this page                  
How You Can Pass Parameters Between an Active Child and a Closed Parent
Because passing a 4GL object as a parameter means passing the reference to the object rather than the object itself, even though gotoframe closes the calling frame, the reference variable on the called frame still points to the original object. It may not be useful, however, to pass a field object from the form on the calling frame because that field is no longer displayed.
Note:  The gotoframe statement does not provide a byref option. Passing values by reference is available for the callframe statement only. For more information, see How You Can Open Concurrent Frames: Openframe Statement (see How You Can Open Concurrent Frames: Openframe Statement).