>>
>> How can I clear a filter I have set programmatically to a data environment? I use, for example,
>>
>> thisform.dataenvironment.cursor1.Filter = 'State = "CO"'
>>
>> to set a filter on the cursor. If I issue either
>>
>> thisform.dataenvironment.cursor1.Filter = ''
>> or
>> thisform.dataenvironment.cursor1.Filter
>>
>> both give me an error. I am looking for the new equivalent of SET FILTER TO.
>>
>> Thanks so much.
>
>Hi Tina
>
> I think u r setting this filter at design time, to set the properties for DE at
>run time, call closetable method and set the properties and call opentable method. u
>can't set properties to cursor object at run time.Hope this may help u.
>
>Thank Q
>Waheed
>> Hi, Waheed. You are not absolutely right saying that ALL cursor properties cannot be reset in run-time. Filter property is exactly the opposite case. Actually, FOX treats this reset as a pretty old SET FILTER command.
Edward Pikman
Independent Consultant