>>>Sorry about the upper(). I took your advice it did something.
>>>The form no longer gets ignored but the program itself does not continue after the form executes but seems to be hung up.
>>
>>you have to issue clear events, after read events to terminate the program.
>
>I am supposed to do form getname, then issue read event, then issue clear event,then do menu mymenu? It still seems caught in that infinite loop :(
Basically, VFP app should contain just one common READ EVENTS. Following is a sample of first prg module
*** set environment here
do mainmenu.mpr
read events
*** clean environment here
Your main menu should have 'Quit' option with CLEAR EVENTS command.
Also remember that modal form will 'stop' app until you close it.
Edward Pikman
Independent Consultant