Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter very slow
Message
 
To
12/08/1997 11:30:39
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00044161
Message ID:
00044618
Views:
31
>Whenever you set filter you need to...
>1)Ensure that you have an index on the field you are filtering
>2)set order to 0, otherwise you essentially get 2 filters fighting each other
>3)if you have set deleted on, you should have an index on deleted(), something like "INDEX ON DELETED() TAG ISDELETED"
>
>In most cases it is better to use an SQL Cursor for most filters.

Hi,

Thanks, but this doesn't help. Maybe filters are supossed to be that slow. I have found a good solution (without a SQL Cursor). Instead of a filter I use a master table (for the organisation button) which is linked to my main table (as child). With a little coding also the navigation buttons work well. This method is very fast: more than a million records are no problem.

Andreas
Previous
Reply
Map
View

Click here to load this message in the networking platform