Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property Not Accessible
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Property Not Accessible
Divers
Thread ID:
00674022
Message ID:
00674022
Vues:
67
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform