Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show datetime in grid without seconds in 12 hour mode
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01075502
Message ID:
01075518
Vues:
18
>How can you show a datetime field loaded into a grid without the seconds showing and in the 12 hour mode with AM or PM. I have set hours to 12 and set seconds to off and this works for the text field on the form, but the grid keeps showing the seconds. I also turned seconds off on the grid's column Text setting. Is there a fix for this behavior?

Jim,

Set following properties
* The column
Sparse = .F.
* The textbox in the column 
Hours = 12
Seconds = 0 - Off
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform