Michael,

Controlsource="=Substr(Transform(Datetime()),12)"

Dave Crozier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of MB Software Solutions
Sent: 15 January 2007 16:57
To: Profox
Subject: Showing the time only portion of a VFP datetime field in a
gridcolumn

VFP8 SP1 -- I've got a datetime field that is essentially used to store 
start/stop times.  I want to only show the time portion in the grid 
column.  The source for the grid is a view.  I'm thinking I should just 
create a field in the view with the TTOC(tField,2) expression. 

Does anyone have a better idea?

-- 
Michael J. Babcock, MCP
MB Software Solutions, LLC
http://mbsoftwaresolutions.com
http://fabmate.com
"Work smarter, not harder, with MBSS custom software solutions!"



[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to