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