Allen Browne's Calendar Control

O

Opal

I am attempting to use Allen Browne's calendar control located at:

http://allenbrowne.com/ser-51.html

But I am getting the following error when I click on the calendar
button:

"Compile error: Can't find project or library"

The Yellow debug arrow points to the following lines of code:

Private Sub Form_Open(Cancel As Integer)
On Error GoTo Form_Open_Err

'Initialize to the existing date, or today if null.
If IsDate(gtxtCalTarget) Then
Me.txtDate = gtxtCalTarget.Value
Else
Me.txtDate = Date
End If

With "Date" after the equals sign highlighted. What am I missing here?
 
T

Tony Toews [MVP]

Opal said:
I am attempting to use Allen Browne's calendar control located at:

BTW it's not a control it's an Access form. I'm being picky I know
but there are a number of differences that can be a pain if it was
indeed a control.

Tony

--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 

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