Got it :)
As long as I don't initiate the second form from within the first, it works fine in a chain.
k
>I am using multiselect listbox form (coded as in the VFP sample in help) to collect data and store it as a variable. i then open a second multiselect listbox form to collect a different set of parameters.
>
>Each form works fine independently - the problem i am having is that when i try to link the two, (as shown below) the second form closes after the line read events.
>
>any suggestions much appreciated
>k
>
>
>DEFINE CLASS cmdMyCmdBtn3 AS CommandButton
> Caption = 'OK'
> Cancel = .T.
> Left = 5
> Top = 210
> Height = 25
>
> PROCEDURE Click
> clear events
> frmMyForm.release()
> if not empty(items)
> do Mygrp3
> endif
>
>ENDDEFINE
>