Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to edit datetime value in the same way as date val
Message
From
04/09/2003 01:30:37
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00825608
Message ID:
00825897
Views:
19
>I have a datetime field in a table. For some users time part of the value is unimportant. Sometimes they need to edit the value in textbox control in exactly the same way as date values (only date without time). As far as I know there is no such property as HideTimePartOfDateTime in textboxcontrol.
>It seems that there must be a simple way to do that but I found nothing.
Is it file or client server problem?
Anyway, if not to use controlsorce for this field
you can do in valid of this textbox
replave dtime with ttod(this.value)
in refresh this.value=ttod(dtime) and this is all
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform