Bonjour Marcia,
I have tried this code et all is Ok.
SET SYSFORMAT OFF
WITH thisform.grid1.column1
.sparse = .f.
.text1.DataFormat = 11
.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 ), [] ) )
>