>>Hi Mike,
>>
>>> I'd change that to lose the ctod(). In the init of the form.
>>
>>> THISFORM.txtStartDate.Value = {//}
>>> THISFORM.txtEndDate.Value = {//}
>>
>>In my form, I set the textbox.Format = 'D'. Can I put the above in textbox.Value properties instead of [None]? Please advice.
>
>That only tells the textbox to format the CHARACTER output to look like a date. It would be better to do this in the init of each: THIS.VALUE = {//}
Mike,
Setting value to {} in PEM makes the datatype D. Not just character display. If bound to a controlsource (didn't read whole thread) then whatever the datatype of controlsource is it would be the datatype.
Cetin