Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting field presence in dbf
Message
From
02/08/2007 11:11:20
 
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:
01245499
Views:
23
>> llCheck = vartype(AAA.kyWarrant)<>'U'
>
>If the field does not exist, vartype() throws an error rather than returns 'U'.
>
>Ben

This is an old bug.

try:
  llCheck = vartype(kyWarrant)<>'U'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform