![]() |
six day work week |
Post Reply
|
| Author | |
LarryInCanada
Newbie
Joined: 28 April 2009 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Topic: six day work weekPosted: 15 June 2009 at 11:27am |
|
I have built a pretty decent looking calendar with CalendarPro, but I have one problem left. My client has a 6 day work week, so I have no need to show Sunday on my calendar, and frankly it just sucks up space, so I'd rather remove it, but for th elife of me I cannot figure out how to do that. I am working in Access 2007, so I am using VB6 (VBA)
Thanks for any help you can offer.
|
|
![]() |
|
mdoubson
Senior Member
Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 June 2009 at 11:50am |
|
Use WorkWeek mode and set your working days - it will skip no needed day
|
|
![]() |
|
LarryInCanada
Newbie
Joined: 28 April 2009 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 July 2009 at 1:34am |
|
Ok, I give up! I have been trying and trying and reviewing posts and the user documentation, and I simply cannot figure out how to set the work week mask... please somebody help me out, I'm dying here :(
|
|
![]() |
|
mdoubson
Senior Member
Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 July 2009 at 7:45pm |
Look in the code of VB Calendar sample frmSettings - it do the job - just follow it
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 July 2009 at 7:47pm |
|
CalendarControl.Options.WorkWeekMask = xtpCalendarDayTuesday Or xtpCalendarDayWednesday
CalendarControl.Options.WorkDayStartTime = TimeValue(cmbStartTime.Text)
CalendarControl.Options.WorkDayEndTime = TimeValue(cmbEndTime.Text) |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |