>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
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