Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show datetime in grid without seconds in 12 hour mode
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01075502
Message ID:
01075518
Views:
19
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform