>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