>>Dear all,
>>
>>I have a formset containing 2 forms. When opening the formset, I have released form 2 in the init of form 1. Then after clicking a button in form 1, I want to open form 2. But I cannot find the command in any book or help. Is it possible?
>>I have tried:
>>thisformset.form2.open or
>>thisformset.form2.activate
>>but all fail.
>
>Release form means that you annihilated it completely. You should either Form.Hide and then Form.Show or open empty formset and then use Formset.Addobject() to instanciate new forms from classes.
Well, can I use:
_screen.Addobject('MyNewForm','Form') ??
or simplest add code after the 'Read Events'
Do FOrm mYformABC
Read Events
Do FOrm MyFormNext
* pqr = createobject('Pqr','Form') ....
Read events....
^_^;
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.