I don't believe you can do what you are trying to do. A formset can be modal: that is, it can stop events from taking place outside of the formset. Forms in a formset, however, are always modeless. If you are trying to simulate modal behavior in a formset the only thing I can think of for you to do is to make the formset modal, then set visible=.F. from Form1 when you bring up form2. Have the release of form2 set visible=.T. for form 1.
Personally, I rarely use formsets unless I have some reason that I need to show two forms simultaneously.
>Hi
>
>In a FormSet I have two forms. Form1 is my main form and Form2 is the other form. I set both of these forms with Window Type = MODAL and ran the form. When I clicked on a command button from Form1 to bring up Form2 I noticed that if I clicked on the background, Form2 is behind Form1. What do I have to set in order to make these forms MODAL? Any help or suggestion is appreciated.
>
>Steve
Eric Shaneson
Cutting Edge Consulting