Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing a filter
Message
De
20/09/1996 18:02:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00008268
Message ID:
00008321
Vues:
28
>>
>> 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform