thanks borislav - i'll clean that up.
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
>>
>
>Usually you should have only one READ EVENTS and one CLEAR EVENTS in the application.