Solved

how to change main table in database

Posted on 2013-02-03
4
191 Views
Last Modified: 2013-02-04
Hello-
am attaching sample of database:
Just the table-(table1)-
at present I sum [time spent] and divide by count of records-and I have queries and reports built-

Now management want me to still sum all of the [time spent]  - but when I divide by count of records - I need to not count pending completion records - (and there are a couple hundred)

So in this sample database I have attached- there are 11 records - but 3 are pending completion- so I need to divide sum of time spent by 8-

do not have idea of how to go about this-
my original thought is I would like to be able to change the table-outside of the database and then import it back in and not change other parts of database. but am confused.

any ideas?
Thank you
Database1.accdb
0
Comment
Question by:davetough
  • 2
  • 2
4 Comments
 
LVL 39

Expert Comment

by:als315
ID: 38850118
Can you show expected result? We should sum time of all records or only records without "Pending Completion"?
You can get 0.2875 Or 0.38125. What is expected?
0
 

Author Comment

by:davetough
ID: 38850712
.38125
sum time of all records
and divide by number of records ( excluding pending completion) -
0
 
LVL 39

Accepted Solution

by:
als315 earned 500 total points
ID: 38851555
Look at sample. You need 2 queries (qry1 and qry2). They, of course, may be combined into one (qryAllinOneAvg)
Database1.accdb
0
 

Author Closing Comment

by:davetough
ID: 38851605
great - thank you
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now