Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP 6.0 - Don't understand the 'No Parameter statement is found'..

Status
Not open for further replies.

TerDavis

Technical User
Sep 18, 2002
36
US
Hello,
I am just trying to run a demo foxpro form,
no connections to the database, basically testing navigation and i wanted to create an exe.

So, I made a project and added the demo form to the project.
Within Fox it runs fine.
So created an exe and am trying to execute it.
I keep getting this message 'No Parameter statemnt is found'.
But there are no parameters - all i need is to have the form run.
I created a main prg and all it does is
DO FORM DEMOFRM.SCX
READ EVENTS

I am not that familiar with FOX and I don't understand why or where should i be looking for parameters ?? what parameteres ???

thanks,
-ter
 
Hi TerDavis,

This message occurs because you are calling something (a method, procedure, function or program) and passing parameters to it, but the method, etc. does not have the code to receive them.

Since the message did not come up in the development environment, I would suspect that it is the main program (the one with the DO FORM and READ EVENTS) which is causing the problem.

How are you launching the program from Windows? Are you typing something into the Run dialogue, or do you have a shortcut, or what? Could you provide exact details. If it is a shortcut, could you post the contents of the Target field in the shortcut properties.

Alternatively, just try double-clicking on the EXE filename in a Windows folder and see if the same problem occurs.

Mike


Mike Lewis
Edinburgh, Scotland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top