Allen Browne's Calendar Control

  • Thread starter Thread starter Opal
  • Start date Start date
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?
 
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/
 
Back
Top