General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
Seems like I asked a similar question about 6 years ago. Googled groups and found it.
So, the answer to my question is NO; the parameter references are only accessible in the Init method.
However, I can pass a reference to an object, store that reference in a form property. Update any properties of the object, and they will be available back in the calling form.
This works.
Any other suggestions?
Thanks,
jim
>The command DO FORM frmMyForm WITH Param1, Param2, Param3 TO lResult
>
>passes Param1, Param2, Param3, and lResult by reference.
>
>Param1, Param2, and Param3 are passed to the form's Init method. lResult receives a result from the form's Unload method.
>
>I note that if I assign values to Param1, Param2, and/or Param3 in the Init method of the form, the values appear in the calling form, as you'd expect from a reference.
>
>Is it possible to save the references Param1, Param2, and Param3 to form properties, and then use these form properties to return values to the calling form from elsewhere (other than the Init method) in the called form?
>
>Thanks,
>Jim
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only