Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format datetime in a grid.
Message
 
À
22/08/2004 12:15:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00935172
Message ID:
00937283
Vues:
11
Bonjour Marcia,


I have tried this code et all is Ok.
SET SYSFORMAT OFF
WITH thisform.grid1.column1
    .sparse = .f.
    .text1.DataFormat = 11 && DMY
    .text1.seconds=0
    .text1.hours=24
ENDWITH
bernhart


>I want format a datetime in a grid but it i have problems.( VFP 8 Pack 1)
>
>What I generally do (if the grid is not a data entry grid < s > ) is set the controlSource for the column like this:
>
>
>( IIF( NOT EMPTY( MyALias.MyDateField ), MDY( MyAlias.MyDateField ), [] ) )
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform