Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clearing a filter
Message
From
20/09/1996 18:02:13
 
 
To
20/09/1996 17:09:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00008268
Message ID:
00008321
Views:
30
>>
>> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform