Still cant get Calendar Control to work as I want...

  • Thread starter Thread starter Lee
  • Start date Start date
L

Lee

Hello again everyone,

Below is a copy of a post that I made but as I haven't had
any response to my reply I thought I would ask again as it
might have been overlooked (hope you don't mind).

Here's what was said:
---------

Thanks for the reply Dan.

However, this doesn't work. When the form is opened it
shows the month as August and the year as 2003. Am I
missing something here?

Lee
 
Try
Me.ocxDate.Year=Int(Year(Date()))
Me.ocxDate.Month=Int(Month(Date()))
Me.ocxDate.Day=Int(Day(Date()))

I know that it sounds strange, but I had the same problems
Regards,
Iryna
 
Hi,

I don't know the answer to your question, but I wondered
if you could help me. I also want to create a calendar in
my database so that a user can select dates and this
information then populates the record(s).

Can you help ?
Thanks
Samina
 
I have a sample AC2k db at www.byerley.net/AccessCalDemo.zip. There is a readme file and
commented code to help you. The calendar is on its own form and will update Textbox by double click
in the textbox or by command button. Works in DataSheet view as well....
 
I know this may seem stupid, and it is, but make sure that the date on
you computer is correct. I was having this same problem with the date
coming up wrong, but it was because I was playing around with the date
on my computer and never set it back. Just something to think about.

Kevin
 
Back
Top