Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddProperty Returns - Not A Character Expression
Message
 
 
To
04/01/2011 11:37:25
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows Server 2003
Network:
Windows XP
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01494525
Message ID:
01494619
Views:
36
>>>>>I've come across this error recently in a web app using Web Connection. I've heard that AddProperty should never return this error and was unable to reproduce this myself. What I've found on the internet leads me to believe that this is a VFP 8 bug. Either SP1 for VFP8 or VFP9 will fix this error.
>>>>>
>>>>>Is this information correct?
>>>>
>>>>Are you able to get the exact command that produces this error?
>>>
>>>< object >.Addproperty( < name >, < variable > )
>>>
>>>Unfortunately, it is happening when I've setup with COM and the error only happens 1 in every 200 commands or so. I couldn't get that "Not a Character Expression" error to occur within command window. That's when I looked on the web and found a couple of articles that say this is an internal Foxpro bug.
>>>
>>>Try it yourself. The error doesn't make sense.
>>
>>Is it possible that < Name > is not a character at that time?
>
>I actually tried that and it gives the "Function argument type, value, or count is invalid."
>
>Here is a link to one of the threads I found.
>
>http://www.tek-tips.com/viewthread.cfm?qid=1183926&page=1

Well, this thread convinces that it's VFP8 bug that does not occur in VFP9. Would it be hard for you to upgrade?
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