PC Review


Reply
Thread Tools Rate Thread

Calendar in an Access Report that resembles Outlook

 
 
Jesse
Guest
Posts: n/a
 
      5th Mar 2006
I need to create a calendar report that shows the lenght of our
projects. Using Duane Hookoms calendars as a base, I was able to
output the report. However, if the lenght of a project goes beyond the
current week where it starts, I get into trouble because I'm not able
to continue the run of the project until it ends. How can I show the
whole lenght of the project. Below is a small deptiction of what I
want to show in the report.

1 2 3 4 5 6 7
X---------------------------
8 9 10 11 12 13 14
-----------------X

Thanks
Jesse

 
Reply With Quote
 
 
 
 
Duane Hookom
Guest
Posts: n/a
 
      5th Mar 2006
Which calendar report? Can you provide a little more information?

--
Duane Hookom
MS Access MVP
--

"Jesse" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I need to create a calendar report that shows the lenght of our
> projects. Using Duane Hookoms calendars as a base, I was able to
> output the report. However, if the lenght of a project goes beyond the
> current week where it starts, I get into trouble because I'm not able
> to continue the run of the project until it ends. How can I show the
> whole lenght of the project. Below is a small deptiction of what I
> want to show in the report.
>
> 1 2 3 4 5 6 7
> X---------------------------
> 8 9 10 11 12 13 14
> -----------------X
>
> Thanks
> Jesse
>



 
Reply With Quote
 
Jesse
Guest
Posts: n/a
 
      6th Mar 2006
I looked at the doctors weekly appointment and the boat schedule to
create something of what I want. Given two dates, I want to show all
the projects that fall within said dates. However, our projects may go
for several days or weeks. In Outlook, you could see that if the
lenght of the projects goes beyond the week end if the lenght of the
project needs it. I want to be able to recreate that. So far, I can
show the projects within a week but if the project runs beyond the week
end I don't know of to make it appear the following week. I'll provide
an example.

GET-99-990
Start: 2006-03-06
Ends: 2006-03-08
GET-99-991
Start: 2006-03-09
Ends: 206-03-15

Calendar View:

5 6 7 8 9 10 11
X---------X X--------------
12 13 14 15 16 17 18
----------------X

I'm able to recreate the 5-11 week but I' not able to show the project
to run to the next week. Thanks.

 
Reply With Quote
 
Duane Hookom
Guest
Posts: n/a
 
      6th Mar 2006
You may need to use a union query if your start and end dates are in
different weeks. This would work if the project doesn't span more than two
weeks.

SELECT Project,
DateAdd("d",-Weekday([StartDate])+1,[startDate]) AS WeekOf
FROM tblProjects
UNION
SELECT Project,
DateAdd("d",-Weekday([EndDate])+1,[EndDate])
FROM tblProjects;

A more robust solution would involve a table of all possible weeks/dates so
that you could accommodate projects spanning more than 2 weeks.

--
Duane Hookom
MS Access MVP
--

"Jesse" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I looked at the doctors weekly appointment and the boat schedule to
> create something of what I want. Given two dates, I want to show all
> the projects that fall within said dates. However, our projects may go
> for several days or weeks. In Outlook, you could see that if the
> lenght of the projects goes beyond the week end if the lenght of the
> project needs it. I want to be able to recreate that. So far, I can
> show the projects within a week but if the project runs beyond the week
> end I don't know of to make it appear the following week. I'll provide
> an example.
>
> GET-99-990
> Start: 2006-03-06
> Ends: 2006-03-08
> GET-99-991
> Start: 2006-03-09
> Ends: 206-03-15
>
> Calendar View:
>
> 5 6 7 8 9 10 11
> X---------X X--------------
> 12 13 14 15 16 17 18
> ----------------X
>
> I'm able to recreate the 5-11 week but I' not able to show the project
> to run to the next week. Thanks.
>



 
Reply With Quote
 
Jesse
Guest
Posts: n/a
 
      9th Mar 2006
I'll try the union query and let you know. Thanks.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there an access report that appears as a calendar? Fred Towne Microsoft Access Reports 1 4th Mar 2009 02:22 PM
Access Report Calendar ghoti811@hotmail.com Microsoft Access Reports 10 12th Sep 2006 09:06 PM
Create a calendar report in access =?Utf-8?B?UmV0Q29hc3RpZQ==?= Microsoft Access Reports 3 14th Mar 2006 02:59 AM
Access should have a calendar report wizard =?Utf-8?B?TXVzZW5zb2hu?= Microsoft Access Reports 2 28th Jan 2005 06:58 PM
Print a custom form from Outlook that resembles the scre... =?Utf-8?B?REQ=?= Microsoft Outlook Form Programming 1 19th Jan 2005 09:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:53 PM.