Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'SCAN FOR' vs 'LOCATE FOR'
Message
From
10/12/1999 20:35:59
 
 
To
10/12/1999 09:46:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00301450
Message ID:
00302124
Views:
37
Good point!

Vlad

>I also use it all the time for the reason Jim brought up, and one more too- if I need to find a record, I have no idea whether the expression has an index or not. It might, it might not, and if it doesn't now, it might in the future, and vice-versa. In performace tuning, indexes sometimes come and go, even though there might be existing code that needs to find a record based on that criteria. With LOCATE, I can count on VFP to decide for me. Its also very valuable in a generic utility type program that doesn't know, and doesn't care if the expression being searched is optimizable.
Previous
Reply
Map
View

Click here to load this message in the networking platform