473,407 Members | 2,312 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,407 software developers and data experts.

Audit Report - Calculation needed

We have a simple database which stores employee audit results. Many
audits are done on each employee. I have a table with int_AuditNumber,
txt_Name, and txt_Score. The txt_Score field shows the result of the
audit and can only be "Correct", or "Error".

I have a corresponding report that summarizes how each empoyee is
doing. It shows employee's name, and calculates (via the count
function) the # of audits with "No Error" for that person, and then
Number of audits with "Error" for that person.

What I need to do is to calculate each employee's error rate. For
example if we've done 20 audits on Joe Smith, and he has only 1 error,
then his error rate is 5%.

In plain language my calulation would say "Count Number of records for
this person which are 'Correct', and divde by the total count for that
person.

Can someone please steer me in the right direction. I'm new to Access
and often confused about whether I should be calculating something in a
query, or if I can do it in a report.

Thanks,
Jason

Oct 25 '06 #1
1 1451
I figured it out.... thanks.
kiplinghfx22 wrote:
We have a simple database which stores employee audit results. Many
audits are done on each employee. I have a table with int_AuditNumber,
txt_Name, and txt_Score. The txt_Score field shows the result of the
audit and can only be "Correct", or "Error".

I have a corresponding report that summarizes how each empoyee is
doing. It shows employee's name, and calculates (via the count
function) the # of audits with "No Error" for that person, and then
Number of audits with "Error" for that person.

What I need to do is to calculate each employee's error rate. For
example if we've done 20 audits on Joe Smith, and he has only 1 error,
then his error rate is 5%.

In plain language my calulation would say "Count Number of records for
this person which are 'Correct', and divde by the total count for that
person.

Can someone please steer me in the right direction. I'm new to Access
and often confused about whether I should be calculating something in a
query, or if I can do it in a report.

Thanks,
Jason
Oct 25 '06 #2

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

Similar topics

6
by: Raphael Gluck | last post by:
Hi, Is it possible for one to program one's pages as such that when a database table is updated over the web, via a form, that an e-mail confirmation is sent to a specified address, notifying...
2
by: Keith | last post by:
Hi I am developing an ASP application which will interact with a SQL database. A requirement of the application is that there is a full audit trail of any modifications to data. I am...
1
by: Byrocat | last post by:
We're going to be enabling the audit facility on some of our DB2 servers in the future, and I need some basic information on how large I can expect the log to grow. I've already been warning NOT...
3
by: CSDunn | last post by:
Hello, I have a situation in which each record on a report has 40 fields, any one of which can contain a value of 'C', or 'I', or 'B'. I need to create one calculated field on the report that will...
2
by: Del | last post by:
Thanks in advance for any help. I have a database that was created in Access 2000. Several users have been upgraded to Access 2003. Since upgrading to 2003 we have noticed that some of the...
4
by: Trevor Best | last post by:
I have a report that's fairly simple, page headers and footers, detail has a subreport in (can vary in length). The customer wanted a signature block for them, their client and 3rd party. This was...
6
by: Parag | last post by:
Hello, I have been assigned the task to design the audit trail for the ASP.NET web application. I don't know what the best practices for such audit trails are. Our application one dedicated user...
3
by: Jimmy | last post by:
Is there a way to force access to wait a specified time before making a calculation? On my report there is a subreport with a number of calculation on it. One if which is a count of certain...
3
by: FrozenDude | last post by:
I've implemented Allen Browne's Audit Log and it works quite well (thanks). However, my form has a series of calculated fields that fire on the form OnCurrent event. The calculation causes a...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.