>>I was just able to get that to work by using
oCal.Object.Value = DATE()
. Have you tried?
>I've tried setting it to Date type (including DATE()), datetime type, numeric,
>and character types. ALL of them produce the "type mismatch" error for me.
Hmmm. Well, I dragged the Calendar from the Component Gallery, ran the form with the NAME keyword, and then did Form.oCal.Object.Value = DATE(), and it worked. I don't know why the behavior is different on your machine.....