Hi SparePart,
Instead of DO FORM MyForm NAME MyVarName LINKED WITH MyParm
you would use the NewObject or CreateObject commands.
Example 1:
SET CLASSLIB TO MyClass ADDITIVE
OR
SET PROCEDURE TO MyProcedure ADDITIVE && if it's defined in a procedure file
oMyFormRef=CREATEOBJECT('MyFormClassName',MyParm)
oMyFormRef.Show()
Example 2:
oMyFormRef=NEWOBJECT('MyFormClassName','MyClassLib','',MyParm)
OR
oMyFormRef=NEWOBJECT('MyFormClassName','MyProcedureFile','',MyParm)
oMyFormRef.Show() [sig]<p>Jon Hawkins<br><a href=mailto: jonscott8@yahoo.com> jonscott8@yahoo.com</a><br><a href= > </a><br>Focus on the solution....Not the problem.[/sig]