Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ascan() ...... I Give UP !!!!
Message
 
À
24/09/1998 07:39:01
Joao Godinho
Fredesenvolv, Lda
Lisbon, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00140287
Message ID:
00140675
Vues:
34
Hi again Joao,

Misunderstood your question a bit. To determine the if it exists in the first column (rather than the first instance), try this:
lnpos = ASCAN(my_array, 3)
lldone = (ASUBSCRIPT(my_array, lnpos, 2) = 1)
DO WHILE NOT lldone AND lnpos # 0
  lnpos = ASCAN(my_array, 3, lnpos + 1)
  lldone = (ASUBSCRIPT(my_array, lnpos, 2) = 1)
ENDDO
IF lldone
  lnrow = ASUBSCRIPT(my_array, lnpos, 1)
ENDIF
hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform