Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / October 2005

Tip: Looking for answers? Try searching our database.

Calendar control - default the date to Today.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
D Hafer - TFE - 17 Oct 2005 15:32 GMT
I found in the MS access reference help files that I can use the Today method
to set the value of the calendar control to today's date.  

The syntax would be: Beginningdate1.Today

Can anyone tell me where I need to put this?
Allan Murphy - 17 Oct 2005 18:27 GMT
I have a calendar on a form called calendar_date and I use the following
code to set the default date of the calendar to the current date using this
code in the LOAD event of the form

Private Sub Form_Load()

   DoCmd.Maximize      ' maximise the screen
   calendar_date = Date

End Sub
Signature

Allan Murphy
Email: allanmurphy@unwired.com.au

> I found in the MS access reference help files that I can use the Today method
> to set the value of the calendar control to today's date.
>
> The syntax would be: Beginningdate1.Today
>
> Can anyone tell me where I need to put this?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.