Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Parameter statement is found
Message
From
17/08/2007 15:06:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01248857
Message ID:
01248865
Views:
23
>You correctly resolved the problem. The parameters in EXE are not passed to a main form.
>
Thanks for the info. One more question, if I may. If I had compiled to an APP instead of EXE
*Main program
DO CASE
   CASE lcSelected = "THIS ONE"
       DO myapp.app WITH param1,.....
   ETC
ENDCASE
would the para

would the parameters have been passed?

Thanks


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

Click here to load this message in the networking platform