Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set filter to date - today
Message
De
11/05/2016 12:16:06
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01636140
Message ID:
01636166
Vues:
62
>>>I am trying in the command box to set a filter to records with podtime(date time expression) = today
>>>
>>>How do I do this
>>>
>>>Thanks
>>
>>Don't use SET FILTER, use SQL Select or something else.
>
>
>Thanks
>
>Thanks I eventually did it with
>
>SET FILTER TO day(podtime)=11 AND MONTH(podtime)=5 AND YEAR(podtime)=2016
>
>Thanks
>
>Colin

SET FILTER uses the same optimization that SQL uses - except that SQL can optimize across multiple tables at once.

SET FILTER TO podtime = date(2016,5,11) will work if podtime is a date. If you also have an index on podtime, it will optimize.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform