Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting DateTime as Date
Message
From
08/10/2008 14:51:53
 
 
To
08/10/2008 14:10:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01353661
Message ID:
01353672
Views:
22
>>I have a cursor with a couple of DateTime fields
>>
>>There is a grid associated with this cursor. We don't edit the grid directly so there are also some textboxes used to edit the cursor's data.
>>
>>How can I format the column and the textbox so that only the date portion is displayed?
>>
>>Thanks..........Rich
>
>Then why you use DateTime?
1. Because the cursor comes from a MySql table which has the field defined as DateTime
2. Just for general information
3. Because I'm stubborn



>Use date.
I don't want to recode the data retrieval portion unless I really need to.


>
>If the controls are readonly you could put [=TTOD(TheFIeld)] it their ControlSource property.

That answers the grid question. Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform