Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter is REALLY Slow!
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01225715
Message ID:
01225731
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform