Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter is REALLY Slow!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01225715
Message ID:
01225731
Vues:
19
You can index parameterized view.

Filters and grids simply don't like each other even after some improvements in VFP9. So just don't use SET FILTER command.

Also if you would have an index on date field and have it as a date (why do you use char field for dates), then you can simply use

select * from myTable whhere date between date(year(date()),1,1) and date()

You actually need to set lower and upper limit as variables, not directly in a query as I showed here.

>I understand but part of the problem is that I also have the user select which order he wants to see the data in and there are many ways in which date is not used.
>
>>You should have index tag on VAL(LEFT(CERTS.cDate,4))
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform