Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property Not Accessible
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Property Not Accessible
Miscellaneous
Thread ID:
00674022
Message ID:
00674022
Views:
68
Can someone tell me why this code doesn't work (I get 'STARTDATE' is not a variable error):

d = createobject("clsDateRange")
d.StartDate = DATE()

***************************************
DEFINE CLASS clsDateRange AS CUSTOM
***************************************

StartDate = {}
EndDate = {}

FUNCTION IsEmpty()
RETURN (THIS.StartDate = {} AND THIS.EndDate = {})
ENDFUNC

ENDDEFINE
Next
Reply
Map
View

Click here to load this message in the networking platform