Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No Parameter statement is found
Message
De
17/08/2007 15:06:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01248857
Message ID:
01248865
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform