PRB: "No PARAMETER statement is found" When Running Own Wizard (141676)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q141676 SYMPTOMS
After creating your own wizard and registering it to the system in
Wizard.dbf, running by on the Tools menu clicking Wizards, results in the
following error and returns you to the Command window:
No PARAMETER statement is found"
CAUSE
Visual FoxPro is expecting the PARAMETERS statement to be present in the
Wizard program or application because it will pass three parameters to it.
The PARAMETERS statement needs to be in a "top-level" program because it
will not work if the statement is in an event of the form.
NOTE: If the wizard is based on a form class, the PARAMETERS statement
should be in the Init event of the form class and you should use the
Classname and Classlib fields of Wizard.dbf.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB141676 |
---|
|