Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting field presence in dbf
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01244177
Message ID:
01244190
Views:
19
>>TYPE("FiledName) <> "U" always worked for me. I don't remember any case where performence was a consideration.
>>I checked Fox 2.6 help and FIELD() function accepts only field # as first parameter and work area/alias as second.
>>
>This would fall if you have a variable name with the same name as your field name.

A field name in the current work area takes precedence over variable. In another work area you would prefix it with alias
TYPE("TableAlias.FiledName") <> "U"
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform