>>1) The function name doesn't actually reflect what it's doing.
>>
>>2) AFAIK ASCAN() can return the correct result without a need of asubscript.
>
>>1) The function name doesn't actually reflect what it's doing.
>
>In your opinion.
>
See
Re: Detecting field presence in dbf Thread #
1244177 Message #
1244412In your case you're returning the number of the field, but the function name starts with 'Is', which, in my opinion, implies the logical return value.
>>2) AFAIK ASCAN() can return the correct result without a need of asubscript.
>
>Yes, but this was written in 2001. Did those flags exist then. Can't remember. But now that I've been reminded that they exist, I'll have to make use of that.
Agree.
If it's not broken, fix it until it is.
My Blog