Walter Meester
HoogkarspelNetherlands
General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only