First do not use formsets. Use forms and learn about the beauty of Private DataSessions. The more you use a private DS for each form, the more you realize you do not need modal forms as much.
When you call a modal form, execution of code past the DO FORM does not continue until the modal form is RELEASED. However, code in the modal form will execute as expected.
>I am new to VFP and using VP6 I am experenced in Foxpro 2.6 and am trying to convert a program. )-:
>I am trying to use FormSets. All forms a model and are on top.
>I call them up using show and then Hide them after use.
>Where I am having problems is when I use a If statment on a command button.
>ie:
> If x
>formnext.show
>endif
>after using the form the program does not return to the line after the Form.show
>
>What is the secret to getting the program to return to the calling line. ??
>
>Any help apreciated.
>Brian
Mark McCasland
Midlothian, TX USA