473,388 Members | 1,326 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,388 software developers and data experts.

Need help on AVERAGING

Hello all,

I am still pretty new to Access but I do have a grasp on some basic
functions.

I am having a problem with averaging and I think I'm trying to do
something a little too complex and maybe I even have it set up wrong.

I am putting some evaluation forms online. Each form/table is
different, apart from the first 10 questions which are the exact same
on all 5.

I have 5 tables: tbl1, tbl2, tbl3, tbl4 and tbl5.

The similar fields are Behavior1, Behavior2... Behavior10, but to
differentiate between the tables they have prefixes such as PMBehavior,
PSBehavior, VABehavior etc.

I need to be able to take PSBehavior1, PMBehavior1, VABehavior1 etc for
one particular person and find the average.

So if they got a 4,3,3,4 and 2 the average for Behavior question #1
would be 3.2 and it would show up in my web-based report.

But with it being 5 different tables, I am clueless as to how to get an
average from that.

Any help would be greatly appreciated.

Nov 13 '05 #1
1 2166
I have a couple observations. One possible approach is to create a inner
join between the five tables and then create a calculated field (or fields)
in which you calculate the average (or averages).

A second approach would be to combine all the common questions in one table
and create an additional field to distinguish which of the five evaluations
it belongs to. You could then create a GROUP BY query on each person and
calculate the average using the AVG function. This is probably the easier
approach.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"Rotten Spice" <ro*********@cox.net> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hello all,

I am still pretty new to Access but I do have a grasp on some basic
functions.

I am having a problem with averaging and I think I'm trying to do
something a little too complex and maybe I even have it set up wrong.

I am putting some evaluation forms online. Each form/table is
different, apart from the first 10 questions which are the exact same
on all 5.

I have 5 tables: tbl1, tbl2, tbl3, tbl4 and tbl5.

The similar fields are Behavior1, Behavior2... Behavior10, but to
differentiate between the tables they have prefixes such as PMBehavior,
PSBehavior, VABehavior etc.

I need to be able to take PSBehavior1, PMBehavior1, VABehavior1 etc for
one particular person and find the average.

So if they got a 4,3,3,4 and 2 the average for Behavior question #1
would be 3.2 and it would show up in my web-based report.

But with it being 5 different tables, I am clueless as to how to get an
average from that.

Any help would be greatly appreciated.
Nov 13 '05 #2

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

Similar topics

0
by: Sofia | last post by:
My name is Sofia and I have for many years been running a personals site, together with my partner, on a non-profit basis. The site is currently not running due to us emigrating, but during its...
6
by: Robert Maas, see http://tinyurl.com/uh3t | last post by:
System login message says PHP is available, so I tried this: http://www.rawbw.com/~rem/HelloPlus/h.php It doesn't work at all. Browser just shows the source. What am I doing wrong?
0
by: Gregory Nans | last post by:
hello, i need some help to 'tree-ify' a string... for example i have strings such as : s = """A(here 's , B(A ) silly test) C(to show D(what kind) of stuff i need))""" and i need to...
7
by: Mike Kamermans | last post by:
I hope someone can help me, because what I'm going through at the moment trying to edit XML documents is enough to make me want to never edit XML again. I'm looking for an XML editor that has a...
8
by: JustSomeGuy | last post by:
I need to write an new class derived from the list class. This class stores data in the list to the disk if an object that is added to the list is over 1K in size. What methods of the std stl...
14
by: Tina | last post by:
My employer tracks productivity/performance of clinicians (how much they bill) each week, its averages for the month, and the 6 months. These averages are compared to their expected productivity....
0
by: U S Contractors Offering Service A Non-profit | last post by:
Brilliant technology helping those most in need Inbox Reply U S Contractors Offering Service A Non-profit show details 10:37 pm (1 hour ago) Brilliant technology helping those most in need ...
1
by: JJ R | last post by:
I am trying to develop a simple and efficient to calculate averages. For example I want to calculate the averages of the Values for rows 1 and 2 and use ID 1 as the row with the average result. ...
1
by: Kid Programmer | last post by:
Hello guys. Whenever I am learning a new programming language I like to learn the basics (variables, loops, conditionals etc) by writing a program that will calculate averages. I wrote a simple...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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:
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...

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.