Wrox Home  
Search P2P Archive for: Go

  Return to Index  

activex_data_objects thread: MonthView control not working as expected


Message #1 by "Douglas Weatherston" <dweatherston@b...> on Fri, 14 Mar 2003 19:42:25
I've placed the MonthView control on an Access2002 form.
I want the form to open with the calendar automatically suggesting a 
future date (to schedule the next appointment).
In the form's OnOpen event, I have a line of code something like this:
MonthView.Value = Date + 7
I get a runtime error 2763 "An error occurred in a call to the Windows 
MonthView control."
I've checked the references, and mscomct2.ocx is registered.
I've played with various formats of the date (string, etc.)
Does anyone have any suggestions???

Thanks!

Doug

  Return to Index