Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to give property empty date-time value?
Message
De
07/09/2005 17:11:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
07/09/2005 04:55:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01047270
Message ID:
01047516
Vues:
9
>>I have a property which holds a date-time value. I want it to be empty at startup so that I can ompare it to datetime(). Thus is important that it have a date-time type value.
>>
>>In code I can write ltSample = datetime({//:} and ltSample will have an empty value. But if I put that string {//:} as an initial value for a property, VFP immediately converts it to {} and the actual value seems to ba n empty date.
>>
>>What is the proper way to do this?
>>
>>Peter
>
>Check the property, it is a datetime.
>
>this is sufficient: for define a empty datetime:
>
>{ :}
>
That's the shortest I could find, and I've tried a lot :). Besides, it looks so cute.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform