Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I SEEK for nearest matched record in CURSOR?
Message
From
29/07/1999 08:51:29
Walter Meester
HoogkarspelNetherlands
 
 
To
29/07/1999 06:13:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00247560
Message ID:
00247608
Views:
25
C.D.,

>I have a SQL Select for putting all my records in a cursor, and I need to do some search in the cursor.

>I''m be able to use LOCATE to look for a certain record but couldn't use SEEK or FIND because both of them need an index tag. I need to search for the nearest matched record in the cursor in case LOCATE fails.

If the cursor is sorted on the field you wish to search in, you could use the:

LOCATE FOR field >= cSearchvalue

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform