>Does anyone know of a good way to pass a parameter from one form to another? The way I'm using is not doing the trick.
>TIA
The only way to "pass" a parameter is using the DO FORM MyFORM WITH syntax for SCX-based forms and CREATEOBJECT('MyFormClass',param1, param2, etc.) for VCX-based forms. The parameters are received in the Init of the form.
If you want to pass information between forms, you can do that any number of ways.
1. Use _Screen.Forms collection to get object reference to other form and execute its methods passing parameters. You could also set property values using the object reference.
2. Use a form manager class that gives you the ability to pass information between forms. This basically wraps the functionality mentioned in option 1 and centralizes it.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao