Article ID: 131254
Article Last Modified on 8/24/1999
CREATE FORM newform
PARAMETERS tField justtime = SUBSTR(TTOC(tField),10) RETURN justtimeThe tDateTime field will be passed to the GetTime method from the Grid Column. The TTOC() function converts the field to character so that SUBSTR() can retrieve just the time portion of the field and return it to the grid.
PARAMETERS tField justdate = SUBSTR(TTOC(tField),1,8) RETURN justdateThe tDateTime field will be passed to the GetDate method from the Grid Column. The TTOC() function converts the field to character so that SUBSTR() can retrieve just the date portion of the field and return it to the grid.
thisform.gettime(tDateTime)
thisform.getdate(tDateTime)
Additional query words: VFoxWin
Keywords: KB131254