Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format datetime in a grid.
Message
 
 
To
22/08/2004 12:15:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00935172
Message ID:
00937283
Views:
9
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 ), [] ) )
>
Previous
Reply
Map
View

Click here to load this message in the networking platform