Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Parameter statement is found
Message
From
17/08/2007 14:46:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
No Parameter statement is found
Miscellaneous
Thread ID:
01248857
Message ID:
01248857
Views:
89
I have a project with one of the forms (frmmain) as "SET MAIN."

The first line in the INIT method of this form is
lPARAMETERS tcNoCustAssigned as String, tcDisAllowBuys as String
I compiled into an EXE file (dicheck.exe) but when I try to run the executable
(from DOS window)
dicheck "F"
I get the
No Parameter Statement is Found
error message.

I can get around all setting as main a prg
**Caller program
lPARAMETERS tcNoCustAssigned as String, tcDisAllowBuys as String 
DO FORM frmMain WITH tcNoCustAssigned, tcDisAllowBuys
but I'm curious about the correct way of using the form as the starting point.

(I'm aware that there are two parameters coded but only one passed. The program does check for that)

Thanks to all..........Rich
Next
Reply
Map
View

Click here to load this message in the networking platform