>How would I convert "DO FORM xxx WITH yyy TO zzz" To "ofrm = CREATEOBJECT()"
>
SET CLASSLIB TO cClassLib ADDITIVE
oForm = CREATEOBJECT(ClassName [, eParameter1, eParameter2, ...])
The parameters are passed to the forms INIT method, so you'll need to use LPARAMETERS there.
>How do I return a value from an object when the object is created with "CREATEOBJECT()". Thanks.
With CREATEOBJECT you could directly read from the object whose value you are looking for.
theValue = oForm.txtStates.Value
Ryan Hirschey