>I am getting data into the form with an updatable cursor from Oracle. I want to set the control source to a Date/Time field, but I only want to display the date part not the time. I want the user to be able to update the date, but never see the time.
>
>How do I display only the date part of a datetime field in a databound control?
>
>Thank you,
>
>Cicilia
If you're using an RV then set datatype to date in properties (design) or with dbsetprop().
If you're using SPT then no way up AFAIK to do it directly (in VFP8 CA lets you to do that with cursorschema). Indirectly use another textbox control with value initialized to {}. Update it as record changes with ttod(), and update source as its value is edited.
Cetin