Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format datetime in a grid.
Message
From
21/08/2004 15:42:27
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00935172
Message ID:
00935227
Views:
21
Hi Bernhart,

>Hi all,
>I want format a datetime in a grid but it i have problems.( VFP 8 Pack 1)
>WITH  oGrid.Column5
>      .FORMAT = "R"
>      .INPUTMASK = "99-99-9999 99-99"
>      .text2.FORMAT = "R"
>      .text2.INPUTMASK = "99-99-9999 99-99"
>ENDWITH
>This code don't fonction !
>bernhart

If don't need to change this column's value, you can to do this:
oGrid.Column5.ControlSource = "Left(TTOC(MyTable.MyDate), 16)"
I hope this helps you.
Erick
Força Sempre!
Strength Always!
Previous
Reply
Map
View

Click here to load this message in the networking platform