Folks
Can you help me out with this calendar control?
I would like to have the calendar default to the current month and date when it
comes up on the form. Is there a way to include code that will allow this to
occur? It always comes up showing the month I installed it April and the date
put this code in the Form_Load Event
YourCalendarControlName.Value = Date
Rgrds,
Fauzie
- Original Message -
From: Dave Moreau
To: Access Newsgroup (E-mail)
Sent: Friday, September 15, 2006 6:19 AM
Subject: [ms_access] Calendar Control
Folks
Can you help me out
PROTECTED] On Behalf
Of John Viescas
Sent: Friday, January 20, 2006 10:07 AM
To: ms_access@yahoogroups.com
Subject: RE: [ms_access] Calendar Control
Mike-
Most bizarre! Putting that code in the Load event works. Putting it
anywhere else (such as Open or Activate) does not work. It also does
To: ms_access@yahoogroups.com
Subject: RE: [ms_access] Calendar Control
Well, I thought I had it figured out...
Here goes again -
I have a form with 2 calendar controls on it 1) is named CalendarStart and
2) is named CalendarStop.
What I've done is in the Form_Load event, I've added the following code
Thanks John :)
-Original Message-
From: ms_access@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of John Viescas
Sent: Thursday, January 19, 2006 9:30 AM
To: ms_access@yahoogroups.com
Subject: RE: [ms_access] Calendar Control
Mike-
The stupid Calendar control has separate Year
To: ms_access@yahoogroups.com
Subject: RE: [ms_access] Calendar Control
Mike-
The stupid Calendar control has separate Year, Month, and Day properties
that determine what current date is displayed. So, do:
Me.CalendarStart.Year = Year(Date)
Me.CalendarStart.Month = Month(Date
in the on load event?
-Original Message-
From: ms_access@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Mike Bisson
Sent: Thursday, January 19, 2006 11:47 AM
To: ms_access@yahoogroups.com
Subject: RE: [ms_access] Calendar Control
Hi John,
Inserted that code, but it's not working
, 2006 9:30 AM
To: ms_access@yahoogroups.com
Subject: RE: [ms_access] Calendar Control
Mike-
The stupid Calendar control has separate Year, Month, and Day properties
that determine what current date is displayed. So, do:
Me.CalendarStart.Year = Year(Date)
Me.CalendarStart.Month = Month(Date
: Tuesday, January 17, 2006 2:31 PM
To: ms_access@yahoogroups.com
Subject: [ms_access] Calendar Control
Never mind, I figured it out!
==
Mike Bisson
Manager of IT Logistics
Carthuplas, Inc.
V: 207-985-4972 x658 F: 207-985-2105
[EMAIL PROTECTED] http
Hi All,
I have a form which contains 2 calendar ActiveX Controls. The first one is
called StartDate and the second is called StopDate. The problem is that
they always default to the date that I orginally added them to the form.
How do I make them default to the current date?
As always, thanks
Never mind, I figured it out!
==
Mike Bisson
Manager of IT Logistics
Carthuplas, Inc.
V: 207-985-4972 x658 F: 207-985-2105
[EMAIL PROTECTED] http://www.carthuplas.com
Yahoo! Groups Links
* To visit your group on the web, go to:
11 matches
Mail list logo