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

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
 
I

Iryna Roy

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
 
S

Samina

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
 
M

MikeB

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....
 
K

Kevin Kleinholter

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
 

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