Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ascan() ...... I Give UP !!!!
Message
 
To
24/09/1998 07:39:01
Joao Godinho
Fredesenvolv, Lda
Lisbon, Portugal
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00140287
Message ID:
00140675
Views:
33
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
Previous
Reply
Map
View

Click here to load this message in the networking platform