Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ascan
Message
 
 
To
22/12/2005 12:17:58
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Ascan
Miscellaneous
Thread ID:
01080090
Message ID:
01080234
Views:
19
>>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform