six day work week |
Post Reply |
Author | |
LarryInCanada
Newbie Joined: 28 April 2009 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 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)
|
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)
|
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)
|
Look in the code of VB Calendar sample frmSettings - it do the job - just follow it
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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 |