>I just took a utility form that I was working on and saved it as a class. It has 20 parameters defined in the init event. Now when I try to instantiate the object ala:
>
>SET CLASSLIB TO myclass
>oLookUp = CREATEOBJECT("cLookUpForm", parm1, parm2, ... parm20)
>
>I get a syntax error. If I call it like this:
>
>=CREATEOBJECT("cLookUpForm", parm1, parm2, ... parm20)
>
>I get an error stating too many parameters.
>
>Any ideas?
>
>TIA
Pass it a parameter object. That way, you can pull as many properties out of your parameter object as needed.