Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement