Solved

how to change main table in database

Posted on 2013-02-03
4
196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40

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 40

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

688 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