>George,
> Oops, i found that is code like this :
>thisform.olecalendar.today
>then i can get the current date display in teh calendar control.
>anyways thanks.
>
>regard,
Hi chang,
For setting the calendar to the current system date, the .Today method works fine. However, I think that passing a parameter to the class that is the container for the calendar may be more flexible. If a parameter wasn't passed, then I'd execute the .Today method. Otherwise I'd set the date based on the parameter.
George
Ubi caritas et amor, deus ibi est