>>>>It works, just type to controlsource '0+ttod(table.field)'. It will make this trick.
>>>
>>>Hi Edward,
>>>
>>>It worked perfectly!! Thanks!!!! Now, I don't understand why it worked. What difference did the 0+ make? How? Thanks again for the help.
>>
>>It forces VFP to perceive it as expression, just a trick nothing else.
>
>Well, it sure is a neat little trick!
>
>Something I discovered as I kept working is that for some reason it make the field read-only. But that's okay becuase I set the format back to normal and found how to change the datetime type to date in the view definition.
>
>But I sure do appreciate the help!!
Thanks. Any time you use expression as control.controlsource, it makes this control read-only, but underlying field(s) are still read-write.
Edward Pikman
Independent Consultant