Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem running menu
Message
De
09/04/2009 08:38:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/04/2009 08:34:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01393926
Message ID:
01393928
Vues:
46
>What am I missing here?
>
>I used this code in my form's init to run my menu,
>
>DO mainmenu.mpr WITH THIS, .T.
>
>I get error "NO PARAMETER statement is found."
>
>What's wrong?

I am accustomed to just run menus with "do mainmenu.mpr" - no WITH statement.

To pass parameters, the menu would have to have the corresponding PARAMETERS or LPARAMETERS statement, as the first executable statement.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform