Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to give property empty date-time value?
Message
From
07/09/2005 04:16:19
 
 
To
07/09/2005 04:07:07
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01047270
Message ID:
01047274
Views:
11
Hi Peter

Try this one: Myproperty.Value = CTOT("")



>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
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Previous
Reply
Map
View

Click here to load this message in the networking platform