Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddProperty Returns - Not A Character Expression
Message
 
To
05/01/2011 12:11:33
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:
01495200
Views:
48
That should work - I've been doing that for years although I do use the ADDPROPERTY function not the class method. wwProcess is based on Relation which DOES have an AddProperty method.

+++ Rick ---

>>What kind of object are you calling AddProperty on?
>>
>>There are two kinds of objects in VFP that don't have an .AddProperty method: the Empty class and an object created with SCATTER NAME.
>>
>>However you should still be able to use the ADDPROPERTY command with either of these types of objects:
>>
>>
>>ADDPROPERTY(loObject,"NewProperty",lcValue)
>>
>
>In this case, it is adding a property to a subclass of the wwprocess class.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform