Argh! This one was plain stupid from myself. Of course, you are very right. Thanks.
>>I have a form usint a filter by default.
>>I use a parameter when calling the form.
>>When this parameter = "X", I need to change the filter of the cursor in the dataenvironement.
>>Is it possible to change it with code?
>>
>>Thanks.
>>Eric.
>select ( alias you need )
>set filter to (new filter condition)