Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem running menu
Message
From
09/04/2009 08:38:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/04/2009 08:34:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01393926
Message ID:
01393928
Views:
45
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform