>>>I have a cursor with a couple of DateTime fields
>>>
>>>There is a grid associated with this cursor. We don't edit the grid directly so there are also some textboxes used to edit the cursor's data.
>>>
>>>How can I format the column and the textbox so that only the date portion is displayed?
>>>
>>>Thanks..........Rich
>>
>>Then why you use DateTime?
>1. Because the cursor comes from a MySql table which has the field defined as DateTime
>2. Just for general information
>3. Because I'm stubborn
ROFL, who isn't?
If you use Remote View or CursorAdapter you could map these DateTime fields to be Date.
In CA you should use CursorSchema, in remote view you could map the type in View designer.
That way you can't re-program your date retrieval :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.