Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I SEEK for nearest matched record in CURSOR?
Message
De
29/07/1999 08:51:29
Walter Meester
HoogkarspelPays-Bas
 
 
À
29/07/1999 06:13:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00247560
Message ID:
00247608
Vues:
37
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,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform