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 / March 2007

Tip: Looking for answers? Try searching our database.

Calendar Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pompeyjim - 24 Mar 2007 11:06 GMT
I've designed a DB that makes printouts of work permits. Most of the time the
user only requires a printout of a permit for the current day. However, they
occasionally require a permit printout for several days/weeks ahead. On the
GUI it needs to show both the date (dd/mm/yyyy) and what day of the week it
is. I've put a Calendar control on the GUI and when I click on a date in it,
it puts that date in the caption property of a label control but I can't seem
to find a way of putting the day of the week into the caption property of a
label control. I wrote this bit of code
Me.lblWeekday.Caption=Me.Calendar6(Day) and noticed that the word "Day"
equalled the day of the month numerically. Is there a way of converting this
into the actual day of the week? like Wednesday for example.
Ken - 24 Mar 2007 11:42 GMT
Try
WeekdayName(weekday, abbreviate, firstdayofweek)

> I've designed a DB that makes printouts of work permits. Most of the time the
> user only requires a printout of a permit for the current day. However, they
[quoted text clipped - 7 lines]
> equalled the day of the month numerically. Is there a way of converting this
> into the actual day of the week? like Wednesday for example.
 
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.