Cetin, I tried with Private DataSession and it worked, but using Private DataSession I went into other problems, so I tried in anoher way :
Before I call the second form I set the rowsource properties of the combos to '', then I set them to the proper Rowsource after the line of code in which I call the form (the form is Modal)
Thank you for your advice
Alessio
>Well I'm very weak on what might have caused it as I almost always use private datasessions.
>DE.AutoCloseTables = .t. might be causing.
>Cetin
>
>>Same problem, I tried to put that in the destroy event of the secondform
>>and just after the line which calls the second form
>>Alessio
>>PS This AFTERNOON i'll try to run the second form in Privwte datasession, but i'd like to understand why that error ocurred. Beside i'm quite sure i don't use the cursor related to the combos in the second form.
>>
>>>But combo's use handles not aliases as far as I know.
>>>
>>>PS: I've never tried this but you might. Before returning:
>>>
>>>with myFirstForm.myCombo
>>> .RowSource = .RowSource
>>>endwith
>>>
>>>Cetin
>>>