438 Error with Calendar Object

G

Guest

Hi,

I inherited an old Access 97 database. On one form there are 2 calendar
controls. These have been working fine for years. Now all of a sudden I'm
getting
"438 - This object doesn't support this property or method." The snippet
below is in the Load event of the form. The references listed before I began
to troubleshoot were: Visual Basic for Applications, Access 8.0 and DAO
2.5/3.5. I've tried adding ActiveX 2.5 (a stab in the dark) but it did not
help. Here is the code culprit:

With Me.clrDrawDate 'name of the calendar object
.Year = Year(Now)
.Day = Day(Now)
.Month = Month(Now)
End With

Thanks for your help
LeAnn
 
G

Guest

Well, after compacting and repairing (and decompiling) didn't work, I just
restored from last night's copy. It would be nice to know why it happened
or if this could be repaired without losing data but at least I have a good
copy.
 

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