You need to tell VFP to wait for the form to complete before continuing with processing. There are two ways to do this. One is to change the form's WindowType property to Modal. The other is to use READ EVENTS. The program that calls the form would look like this:
DO FORM MyForm
READ EVENTS
When the form is closed you'll need a CLEAR EVENTS to make sure execution continues after the READ EVENTS line.
>I used the form designer in VFP 3.0 Professional to create a form which works fine winthin VFP. When I "BUILD EXE", the resulting application just flashes the form on the screen and then quits. I've added a prg to call the form (DO FORM) to the project but still get the same results.
>
>Any help on this would be appreciated, Thanks in advance.