>Confused!
>
>I have a form which I've been able to run in design mode with no problem. Move it into the application and I get the above error when I call the form.
>
>The init method for the form is the bog standard default vfp form init behaviour (which doesn't have parameters) and I can find no call to the init at all - let alone one which attempts to pass a parameter.
>
>Furthermore, the debugger shows that the objects on the form are "inited" with no difficulty (using same default method) prior to the form init which produces the error.
>
>Clues?
>
>Harry
What does your DO FORM look like? Are you trying to pass the form parameters with it? What happens if you put a "LPARA v1" in the first line of the init method?
Also- there are several native VFP methods that have parameter lines in them. If you accidentally remove one, you'll get this error. (Keypress, AfterRowColChange, etc.). Check the form and object methods for this form to make sure you haven't overwritten any of these methods.
Erik Moore
Clientelligence