Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG TYPE('blobfield') AND VARTYPE(blobfield)
Message
 
To
20/10/2005 14:24:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01060805
Message ID:
01060814
Views:
13
>>Why TYPE() and VARTYPE() returns different results for field type BLOB
>>
>>
CLEAR
>>CREATE TABLE Test (bugfield W)
>>INSERT INTO Test VALUES (FILETOSTR(HOME()+'beautify.app'))
>>? TYPE('bugfield')   &&& return W
>>? VARTYPE(bugfield)  &&& return Q
>
>Also there is an omission in HELP. There is no "W" type in HELP for VARTPE() and TYPE() functions. Only in AFIELDS() you can get it.

Yes, I know this.
But the question is:
WHY TYPE and VARTYPE returns different results ???
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform