Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for BOF() with filter taking ages
Message
From
31/03/2001 07:36:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Checking for BOF() with filter taking ages
Miscellaneous
Thread ID:
00490568
Message ID:
00490568
Views:
41
I am applying a filter to a table with just over 110,000 records and it is taking ages to return the data. After using the coverage profiler I have discovered that it is not so much the filter expression (which is optimised) that is soooo sloooow but the refresh on the navigation bar buttons. The main cause is the checking for 'Top of form' using:

SKIP - 1 &&&Offending line takes over 30 seconds to execute
If BOF()
*---Code goes here---*
Endif
SKIP 1

Does anyone please have any good ideas of getting round this?

Many thanks

Ian Baxter
Next
Reply
Map
View

Click here to load this message in the networking platform