ActiveX calender

P

Patrick

I have 2 calenders on one form. I'm trying to use this to default them to
the current days date. This is in Access 97.

Private Sub Form_Load()
Me.StarDate1.Today
Me.EndDate1.Today
End Sub
 
T

T Martin

Use the following code

Private Sub_FormLoad()
me.starDate1.value = date
me.endDate1.value = date
end sub

T Martin
 
P

Patrick

Well I know for a fact that I have the name correct in both the code and on
the calender's properties, but it is giving me a compile error saying,
"Method or Data Member not found." I can't seem to find the calenders in the
expression builder either. Any ideas?

Thanks.
 
Top