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 / ActiveX Controls / September 2004

Tip: Looking for answers? Try searching our database.

Calendar control 7

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter - 08 Sep 2004 18:12 GMT
I am using a calendar control on a form to set a despatch
date. I am having difficulty setting the value of the
control when adding a new record. The control is linked to
a field called DesDate and this has no default value when
a new record is added. I am using a toggle button to set
the visible property to true so the user can use the
calendar. After a value has been set the control value is
synchronised but for some reason if the control value is
null no default date appears when the calendar is visible
but the year defaults to 2005. I have tried to set the
value in the forms load event but this does not seem to
work. I have tried using
me.caldesdate.value = date() and
me.caldesdate.value = today

Any ideas?
Alex Dybenko - 09 Sep 2004 08:41 GMT
If calender is bound to some field - probably it show a default of field?
check this
anyway - you can also assing default date in form's Before_Insert event

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

>I am using a calendar control on a form to set a despatch
> date. I am having difficulty setting the value of the
[quoted text clipped - 12 lines]
>
> Any ideas?
 
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



©2009 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.