Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format datetime in a grid.
Message
De
21/08/2004 15:42:27
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00935172
Message ID:
00935227
Vues:
19
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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform