Try "this.Object.value". If not, the constructing the date that Jim gave you will work.
>That's the wierd thing about the calendar control. The documentation says it has a value property, but when I refer to it, the program doesn't find it.
>
>Any ideas?
>
>Jim
>
>>>Is there a way to return the selected date from a calendar control?
>>>
>>>I tried the following, but the variable is empty after the statement.
>>>
>>>mydate = {This.month + This.Day + This.year}
>>>
>>>Shouldn't this work?
>>>
>>>Please help,
>>>
>>>Thanks
>>>
>>>Jim
>>
>>Jim,
>>
>>The syntax is wrong, make it either;
>>
>>
>>myDate = EVALUATE( "{^" + STR(This.Year,4) + "/" + STR(Tis.Month,2) + ;
>> "/" + STR(This.Day,2) + "}" )
>>
>>OR
>>
>>myDate = This.Value
>>
>>