Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too slow
Message
From
30/11/1999 13:43:13
 
 
To
30/11/1999 13:34:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00297016
Message ID:
00297027
Views:
27
>I have a table with 40,000+ records in it. On my form I type in a number which cooresponds to a drawing number field in my table. I use "Scan For Like(maindatatable.dmdrno, This.Value)". This doesn't take too long on my 450mhZ CPU machine but on slower machines (100mhZ CPU) it takes several seconds. What can I do to improve this. Thanks for your help.
>

Buy all the other users 700MHz PIII systems with lots of memory...

The LIKE() function is never optimizable - reconstruct the filter condition on the SCAN to use an Optimizable expression.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform