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:
01244219
Views:
18
>I know that, of course.
>
>But type('FieldName')<>'U' would not tell us whether we have a field 'fieldname' in the currently opened alias, if we have a variable with this name.
>
>That's the point I tried to make.
>
>In other words, the above test will only tell us that we may have either a variable or a field name called 'fieldname' while field() will remove ambiguity.

If you expect conflict between a field name and memory variable, always use alias prefix.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform