>Dear Hilmar
>
>It is not clear to me.Any example or hints?
>
>Thanks!
>
>Chandan
If I understand the original question correctly, the first time you choose a menu item you want to run a specific form; later, you want to run another form. Is this correct?
Here is an example with a public variable, to do this:
public FirstTaskDone
FirstTaskDone = .F.
Then, when the user clicks on the menu item:
if FirstTaskDone
do Form2
else
do Form1
FirstTaskDone = .T.
endif
Note that the use of public variables is generally discouraged, but I am not sure what alternatives there are in this case.
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)