Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Parameter statement is found
Message
 
 
To
17/08/2007 14:46:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01248857
Message ID:
01248859
Views:
27
You correctly resolved the problem. The parameters in EXE are not passed to a main form.

>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform