>>>>>How to use ascan()?
>>>>>
>>>>>I do not understand the 3rd,4th parameter, nStartElement , nElementsSearched.
>>>>>
>>>>>I like to using ascan to determine the specify field exist.
>>>>>
>>>>
>>>>
>>>>? "exists ",fsize("fieldname",alias) > 0
>>>>
>>>>>
>>>>>TIA.
>>>
>>>Is FSIZE faster than TYPE?
>>
>>2-4 X faster.
>>The rule is : uses TYPE() when you are desperate :)
>>
>>Of course you don't have to touch "set compatible"
>
>AND TYPE("Object.Property") is not the same as FSIZE(field,alias)
I would go with type unless I'm in a 100000 iterations loop.
If it's not broken, fix it until it is.
My Blog