Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locate Function
Message
From
24/07/2002 13:32:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00682059
Message ID:
00682153
Views:
18
>Does locate work when issued succeessively?

LOCATE (not a function but a statement) finds the first record that matches the condition.

If you want to LOCATE a second instance you can use CONTINUE

BTW, LOCATE does a GO TOP if no condition supplied so it makes for a handy replacement for GO TOP that is sometimes faster as GO TOP could be slow if you have a filter set that is not optimized.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform