Solved

how to change main table in database

Posted on 2013-02-03
4
193 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
User Level Security 6 38
deduplicating based on criteria 2 21
MS access 2010. Trouble on exporting to excel 2010 13 11
combo box query 6 8
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

809 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