Active X Monthview Control 6

robertbwainwright

Registered User
I'm using this control to allow users to select a date as input to a subform. The control is working just fine, but I have a problem, I need to reset the value to today on certain events (for instance a reset button to reset the values back to today). I have tried:

Me!calThru.Today

and

Me.calThru.Value = Date

and

calThru.Value = Date

but with no success. Any help would be greatly appreciated!
 

SOS

Registered Lunatic
What version of Access are you using? I tried it in Access 2007 and this worked:

Me.MonthView3.value = Date

(my control is named MonthView3)
 

robertbwainwright

Registered User
I get runtime error 2763.


"MonthView returned the error: An error occurred in a call to the Windows MonthView control."

I'm using Access 2007 as well.
 

SOS

Registered Lunatic
Is your control visible when you try to set the value? It needs to be. I just got the same error if I set its visible property to NO.
 
Top