code error

A

arthursdomain

Can someone tell me why im getting a runtime error 404?
What im trying to do is add a calendar pop-up to my form and im
following these directions from:

www.fontstuff.com/access/acctut09.htm

but i keep getting a runtime error on the "ocxCalendar.Visible = True"
line. Im using access 2000/win xp -- i guess visible or ocxCalendar is
not defined?

Private Sub cboStartDate_MouseDown(Button As Integer, Shift As Integer,
X As Single, Y As Single)
ocxCalendar.Visible = True
ocxCalendar.SetFocus

If Not IsNull(cboStartDate) Then
ocxCalendar.Value = cboStartDate.Value
Else
ocxCalendar.Value = DATE

Z

End If


End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top