Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASCAN Syntax
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01465103
Message ID:
01465105
Vues:
94
This message has been marked as the solution to the initial question of the thread.
>I'm having a senior moment here. I can't rember the syntax to search a two column array, searching on the first column, and returning the second column.
>
>i.e. array test is defined as test[2,2]
>elements are
>test[1,1]=2
>test[1,2]=.T.
>test[2,1]=3
>test[2,2]=.F.
>
>so how would search test for test[1,1]=3 so it would return .F.
>
>Hope the expalnatio helps.
>
>TIA
>Mike
lnRow = ASCAN(test, 3, 1, -1, 1, 8)
IF lnRow > 0
   ? test[lnRow, 2]
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform