Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AScan on a specific column?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00005501
Message ID:
00006036
Views:
76
> *-S-* Skip irrelevant columns on subsequent ASCANs
> lnElem = ASCAN(tcAName, tuSeekStr, lnElem + nCols - lnElemCol + >
>P.S. Comments welcome.

Yeh, I have a comment!


Your idea is a good one though I don't think you took
it far enough.

This should eliminate the need for a DO WHILE.

I have not done any testing on this but it sounds good
to me.

lnStartElement = AELEMENT(ArrayName,1 ,nDesiredColumn)
lnStopElement =( AELEMENT(ArrayName,1 ,nDesiredColumn+1) -1)
?ASCAN(Array, "FindMe",lnStart, lnStopElement)

Of course a little validation for lnStopElement
will be necessary.

Chris
Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform