Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pointer for row in dbf
Message
De
22/01/2002 19:40:50
 
 
À
22/01/2002 18:39:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00608709
Message ID:
00608727
Vues:
12
>hey everyone,
>i am trying to select a dbf alias in some code i am writing. what i want it to do after i have selected it is search for a condition in the table and then point to the row where the condition is met. here is what i have so far.
>
>select alias
>scan for column condition = desired condition
>
>what i do not know how to point to the row after the condition is met. can anyone help me with this dilema? thanks.

When the condition is met the (first row that met the condition) row is automatically pointed to. The alias/work-area's record pointer "sits on" the record in question.

So then you can examine the specific fields of that row by coding AliasName.FieldName (or, the what you have so far, simply by FieldName.

I hope this is what you were asking.

good luck

Jim Nelson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform