>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.
>
VFP help on Parameters states that 27 is the limit. Check to make sure you have 20 parameters defined in the LParameters clause of your form class.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao