Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting datetime to date
Message
From
30/12/1998 12:09:16
 
 
To
30/12/1998 12:01:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00168548
Message ID:
00171578
Views:
31
>>>>It works, just type to controlsource '0+ttod(table.field)'. It will make this trick.
>>>
>>>Hi Edward,
>>>
>>>It worked perfectly!! Thanks!!!! Now, I don't understand why it worked. What difference did the 0+ make? How? Thanks again for the help.
>>
>>It forces VFP to perceive it as expression, just a trick nothing else.
>
>Well, it sure is a neat little trick!
>
>Something I discovered as I kept working is that for some reason it make the field read-only. But that's okay becuase I set the format back to normal and found how to change the datetime type to date in the view definition.
>
>But I sure do appreciate the help!!

Thanks. Any time you use expression as control.controlsource, it makes this control read-only, but underlying field(s) are still read-write.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform