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

Student Evaluation Report

Greetings,
I have a database that keeps track of students grades (and lots of
other info)for a non-profit training center. I have created an access
database to track all of the student's information and want to use the
information to print certificates for the students.

Basically, I have a report in which I calculate the student's final
grade
from the individual tests. I want to create a field called
StudentEvaluation
that converts the number grade into an Evaluative grade... ie, 93-100
=
Excellent, 85-92 = Good, etc.

I am certain this is relatively easy to do in VB, but I am not
experienced
in programming and have not figured out a way to do it from the Access
interface. Any help would be appreciated.
Nov 13 '05 #1
8 3206
ChrisMac wrote:
Basically, I have a report in which I calculate the student's final
grade
from the individual tests. I want to create a field called
StudentEvaluation
that converts the number grade into an Evaluative grade... ie, 93-100
=
Excellent, 85-92 = Good, etc.

Air code follows. Note that you should actually define the hard-coded
numbers (that I made up) as constants somewhere. That way, if you use
them in other places and they change, you only have to change them in 1
place.

function GetGradeDescription (intNumericGrade as Integer) as String

GetGradeDescription = "Failing"
if intNumericGrade >= 69 and intNumericGrade < 77 then
GetGradeDescription = "Poor"
end if
if intNumericGrade >= 77 and intNumericGrade < 85 then
GetGradeDescription = "Average"
end if
if intNumericGrade >= 85 and intNumericGrade < 93 then
GetGradeDescription = "Good"
end if
if intNumericGrade >= 93 then
GetGradeDescription = "Excellent"
end if
end function

Nov 13 '05 #2
"ChrisMac" <ch***@servicepartners.org> wrote in message
news:75**************************@posting.google.c om...
Greetings,
I have a database that keeps track of students grades (and lots of
other info)for a non-profit training center. I have created an access
database to track all of the student's information and want to use the
information to print certificates for the students.

Basically, I have a report in which I calculate the student's final
grade
from the individual tests. I want to create a field called
StudentEvaluation
that converts the number grade into an Evaluative grade... ie, 93-100
=
Excellent, 85-92 = Good, etc.

I am certain this is relatively easy to do in VB, but I am not
experienced
in programming and have not figured out a way to do it from the Access
interface. Any help would be appreciated.

Create a table of evaluative grades something like

create table evalGrades
(
evalGrade varchar(25) not null
constraint UK_evalGrades_evalGrade unique,
gradeFrom int not null,
gradeTo int not null,
constraint PK_evalGrade_gradeFrom_gradeTo
primary key (gradeFrom, gradeTo)
)

Fill the table with the evaluative grade text and grade ranges for each.
Then join to this table in your query.


Nov 13 '05 #3
if finalgrade >= 93
studentevaluation = "Excellent"
elseif finalgrade >=85 AND finalgrade < 93
studentevaluation = "Good"
elseif finalgrade etcetera!
End if

ch***@servicepartners.org (ChrisMac) wrote in message news:<75**************************@posting.google. com>...
Greetings,
I have a database that keeps track of students grades (and lots of
other info)for a non-profit training center. I have created an access
database to track all of the student's information and want to use the
information to print certificates for the students.

Basically, I have a report in which I calculate the student's final
grade
from the individual tests. I want to create a field called
StudentEvaluation
that converts the number grade into an Evaluative grade... ie, 93-100
=
Excellent, 85-92 = Good, etc.

I am certain this is relatively easy to do in VB, but I am not
experienced
in programming and have not figured out a way to do it from the Access
interface. Any help would be appreciated.

Nov 13 '05 #4
ChrisMac,
SQL does it best.
First, "CREATE TABLE GRADE_SCALE_TBL (ID LONG PRIMARY KEY, GRADE_NAME
TEXT(50), GRADE_LOW SINGLE, GRADE_HIGH SINGLE);"
Then, "SELECT GRADE_SCALE_TBL.GRADE_NAME, STUDENT_ASSIGNMENT_TBL.GRADE FROM
GRADE_SCALE_TBL, STUDENT_ASSIGNMENT_TBL WHERE STUDENT_ASSIGNMENT_TBL.GRADE
= GRADE_SCALE_TBL.GRADE_LOW AND STUDENT_ASSIGNMENT_TBL.GRADE <= GRADE_SCALE_TBL.GRADE_HIGH);"
No VBA and the grade scale can be changed as needed.

"ChrisMac" <ch***@servicepartners.org> wrote in message
news:75**************************@posting.google.c om... Greetings,
I have a database that keeps track of students grades (and lots of
other info)for a non-profit training center. I have created an access
database to track all of the student's information and want to use the
information to print certificates for the students.

Basically, I have a report in which I calculate the student's final
grade
from the individual tests. I want to create a field called
StudentEvaluation
that converts the number grade into an Evaluative grade... ie, 93-100
=
Excellent, 85-92 = Good, etc.

I am certain this is relatively easy to do in VB, but I am not
experienced
in programming and have not figured out a way to do it from the Access
interface. Any help would be appreciated.

Nov 13 '05 #5
Calculated fields aren't usually stored in the tables. Instead,
calculate the StudentEvaluation when generating the report.

ch***@servicepartners.org (ChrisMac) wrote in message news:<75**************************@posting.google. com>...
Greetings,
I have a database that keeps track of students grades (and lots of
other info)for a non-profit training center. I have created an access
database to track all of the student's information and want to use the
information to print certificates for the students.

Basically, I have a report in which I calculate the student's final
grade
from the individual tests. I want to create a field called
StudentEvaluation
that converts the number grade into an Evaluative grade... ie, 93-100
=
Excellent, 85-92 = Good, etc.

I am certain this is relatively easy to do in VB, but I am not
experienced
in programming and have not figured out a way to do it from the Access
interface. Any help would be appreciated.

Nov 13 '05 #6
User_5701,
True, in relational databases. In datawarehouses, which any grading system
should be, you need the calculated result to ensure you accurately capture
the history of a student's progress. Your fact table has as its grain of
fact the section, the student, the assignment, the grade, any grade
adjustments and in some cases, the type of assignment to account for grades
that are weighted by assignment type.
A relational database that regenerated historic grading data whenever the
report was re-run risks calling in to question the credibility of the data
if a grade ever changes from that which was issued at the end of the term.
What lovely havoc would ensue if every student could challenge their grade
because only current grades existed without a valid audit trail in the form
of reliable historic data.

"user_5701" <us*******@hotmail.com> wrote in message
news:f1**************************@posting.google.c om...
Calculated fields aren't usually stored in the tables. Instead,
calculate the StudentEvaluation when generating the report.

Nov 13 '05 #7
I'm not very clear on what you said below - perhaps you can explain it
a little better. I don't see how a calculated value could ever change
- the grades aren't going to change unless they retake a test or
assignment, in which case either the original grade would be changed
in the database or another assignment with that grade would be added
into the database. The formula never changes either - add up all the
grades a student received, divide by total points possible, add in
extra credit, add or subtract the adjustments if there are any, and
that is the calculated grade. If a grade were changed, then yes, the
calculated grade would change, but then so would the grade stored in
the database (or it would just be wrong then). one plus one always
equals two...

"Alan Webb" <kn*****@hotmail.com> wrote in message news:<vf********************@comcast.com>...
User_5701,
True, in relational databases. In datawarehouses, which any grading system
should be, you need the calculated result to ensure you accurately capture
the history of a student's progress. Your fact table has as its grain of
fact the section, the student, the assignment, the grade, any grade
adjustments and in some cases, the type of assignment to account for grades
that are weighted by assignment type.
A relational database that regenerated historic grading data whenever the
report was re-run risks calling in to question the credibility of the data
if a grade ever changes from that which was issued at the end of the term.
What lovely havoc would ensue if every student could challenge their grade
because only current grades existed without a valid audit trail in the form
of reliable historic data.

"user_5701" <us*******@hotmail.com> wrote in message
news:f1**************************@posting.google.c om...
Calculated fields aren't usually stored in the tables. Instead,
calculate the StudentEvaluation when generating the report.

Nov 13 '05 #8
user_5701,
So many, many dba's said some years ago before the rise of data warehouses.
Transaction/relational databases typically are only a snapshot of the
current state of the data. As new data arrives and the old data is modified
the results of any calculated values change and reflect a new state of the
data. This is great as long as you don't need to know how the data has
changed over time. Where star schemas and data warehouses come in to play
is when it becomes necessary to know and accurately remember each change to
the data over time. The other reason to store calculated results is
performance. It is *much* faster for an rdbms to retreive a stored value
than it is for the rdbms to recalculate a value based on a formula. The
argument over relational vs. star schemas & data ware houses is an old one
worth poking about for in newsgroups and Google. I've done both and
considered relational designs in my own grading database but ended up
building a star schema because it provided a better audit trail when a
student challenged a grade.

"user_5701" <us*******@hotmail.com> wrote in message
news:f1**************************@posting.google.c om...
I'm not very clear on what you said below - perhaps you can explain it
a little better.

Nov 13 '05 #9

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

Similar topics

22
by: Daniel Déchelotte | last post by:
Hi, Once I was happy with my new deezign, I noticed how bad it breaks in IE (all versions I tried). Since IE7 didn't give acceptable results, I wrote a simplified style that I would fetch to IE....
8
by: NickName | last post by:
Hi, I seemed to me IsNull Evaluation within EXEC fails. Here's some more detail of the problem. -- goal: provide one parameter (of various value) to generate a -- report declare @col4...
6
by: laj | last post by:
HI, Excuse this new question, I am trying to impress my wife by putting a db together for her dance studio. I put a table with all students new and old with fields including name and address and...
1
by: mjobrien | last post by:
Thanks for the hint Allen (see below). But I am already doing that count as total records read (5)in the report footer. That count is unduplicated for the record not for the field - student ID as...
6
by: Chris | last post by:
Could someone point me to an example or at least outline of a solution to the following problem: I want to be able to compile the body of a method written in C++, submitted by a possibly...
0
by: Racqetsports | last post by:
Hi there, In a gradebook database, student grades must be computed from 2 scores: a Daily grade, and then scores from Assignments. Knowing about nested forms, I am requesting direction on how to...
6
by: Jason1983 | last post by:
Hi , This is Jason....I am very thankful to this community for helping me couple of times earlier with my issues.... Iam trying to create a Report which is attached to a Form ....On that form i...
2
by: nirav11 | last post by:
# include <iostream> # include <fstream> # include <iomanip> # include <cstdlib> // needed for exit () using namespace std; int main() { ifstream inFile; ofstream outFile;
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.