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 / New Users / February 2006

Tip: Looking for answers? Try searching our database.

Create a report for hours by week, month and year.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Edd - 16 Feb 2006 21:31 GMT
I need to create a report for flight hours. I need the report to show detail
records for the week with totals in the footer. I have already created this
where you input the date parameters. It work fine. Here is where the problem
is. I also need another line with totals for the month and another with
totals for the year. The report I have so far keeps track of flight times,
maintenence flight times, pax and so on. They each need to have their own
total. Unfortunately I don't know much about access. I was thrown into this
and have menaged to get as far as I have using the report wizards, online
searching  and trial and error. Thanks.
Al Camp - 16 Feb 2006 22:38 GMT
Edd,
  In the query behind your report (using the design grid) create two
calculated fields...
       txtMonth : Month([YourDateFieldName])
and
       txtYear : Year([YourDateFieldName])
  This will provide a Year and Month value for each date so that you can
"break and sum" the report on those values.
  Ex...
       Year Header
           Month Header
               Detail
           Month Header
       YearHeader
Signature

hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

>I need to create a report for flight hours. I need the report to show
>detail
[quoted text clipped - 9 lines]
> and have menaged to get as far as I have using the report wizards, online
> searching  and trial and error. Thanks.
Edd - 17 Feb 2006 00:52 GMT
Thank you for your help but I'm not sure what to do with it after creating
the fields for txtMonth and txtYear. You did mean create two new colums for
these fields right? After that what does it mean to "break and sum" on the
report? Thanks.

> Edd,
>    In the query behind your report (using the design grid) create two
[quoted text clipped - 23 lines]
> > and have menaged to get as far as I have using the report wizards, online
> > searching  and trial and error. Thanks.
Al Camp - 17 Feb 2006 01:39 GMT
Edd,
  I see you also wanted a total by week, so I want to back up a bit.
  You'll need 3 calculated fields...

  Tell you what might be easier.  EMail me through my website below, and
I'll send you a .mdb file with a report that shows what you'll need to do.
Signature

hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

> Thank you for your help but I'm not sure what to do with it after creating
> the fields for txtMonth and txtYear. You did mean create two new colums
[quoted text clipped - 32 lines]
>> > online
>> > searching  and trial and error. Thanks.
Al Camp - 17 Feb 2006 01:43 GMT
Edd,
  What version of Access are you running?
Signature

hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

> Edd,
>   In the query behind your report (using the design grid) create two
[quoted text clipped - 24 lines]
>> and have menaged to get as far as I have using the report wizards, online
>> searching  and trial and error. Thanks.
 
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.