Hi Michel ---
Put the LPARAMETERS param1,etc... in the Init of the Formset and not the form. Create custom properties in the Formset to store the parameters to. You can access them from the form level with THISFORMSET.Property *but* not in the Form init because form init comes BEFORE Formset init.
>The DO FORM ..... WITH param1, param2, etc... allows you
>to pass parameters to a form which one captures in the Init
>method of the form.
>
>If a form is part of a formset, however, and is the first
>form (or even the only form) in that formset that will be
>executed, how do you pass parameters to it from the
>DO FORM statement in the Command Window ?
>
>Thanks in advance.
>Michel.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05