473,394 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

summary by date range

I am trying to create a db to help me with a federal grant report. I
arrange for contractors to work with individual clients. The only info I
have on the contractors at this point is basic contact info. The client
form has a place to enter client number and contractor working with that
client. Then there is a subform to enter the date, activity, time and cost
for the project. This is linked to the individual client. I have then
created a query that summarizes the total time and cost for the client's
project onto the client form.

When I report to the feds, I need to be able to provide a number relatively
close (i.e. equal) to the number of Full Time Employees it would take to do
the work. So I need a query and/or report that will let me enter the start
date and end date of the reporting period and then it will provide a total
number of hours worked during that period.

Can anyone give me some direction in how to go about setting this up?
Thanks for the help in advance.

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Nov 13 '05 #1
1 1656
You need the following tables:
TblContractor
ContractorID
<name and basic contact info>

TblClient
ClientID
<name and contact info>

TblProject
ProjectID
ContractorID
ClientID

TblProjectDetail
ProjectDetailID
DetailDate
DetailActivity
DetailTime
DetailCost

Your client form should be a project form/subform. The main form is based on
TblProject and the subform is based on TblProjectDetail.

For your report to the feds, create a query based on TblProjectDetail.
Include only the DetailDate and DetailCost fields. Set the criteria for the
DetailDate field to: Between [Enter Reporting Period Start Date] And [Enter
Reporting Period End Date]. Click on the Sigma (looks like capital E) button
on the toolbar at the top of the screen. Change Group By under DetailDate to
Where. Change Group By under DetailCost to Sum. When you run this query, the
total cost will be shown as SumOfDetailCost.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

If you don't get the help you need in the newsgroup, I can help you for a
very reasonable fee.
Over 1000 Access users have come to me for help.
Remember that a lone man built the Ark. A large group of professionals built
the Titanic.

"Robert" <sanfordlaw@***inebraska.com> wrote in message
news:11*************@spool6-east.superfeed.net...
I am trying to create a db to help me with a federal grant report. I
arrange for contractors to work with individual clients. The only info I
have on the contractors at this point is basic contact info. The client
form has a place to enter client number and contractor working with that
client. Then there is a subform to enter the date, activity, time and cost
for the project. This is linked to the individual client. I have then
created a query that summarizes the total time and cost for the client's
project onto the client form.

When I report to the feds, I need to be able to provide a number
relatively close (i.e. equal) to the number of Full Time Employees it
would take to do the work. So I need a query and/or report that will let
me enter the start date and end date of the reporting period and then it
will provide a total number of hours worked during that period.

Can anyone give me some direction in how to go about setting this up?
Thanks for the help in advance.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption
=----

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 241 open ( -6) / 2622 closed (+26) / 2863 total (+20) Bugs : 764 open ( +6) / 4453 closed (+38) / 5217 total (+44) RFE : 150 open...
1
by: Wayfarer | last post by:
I've built a report using a aggregate query that is grouped by Month + Year, Program and Name. When I feed the date ranges as query parameters, it will very properly print out a report that shows...
1
by: annemariearmour | last post by:
I am using Crystal reports version 11.2 to create reports. The data source is SQL Server, and I am using views rather than reporting directly from tables. I apply selection criteria to the incoming...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.