J
Jen Pollard
Hi, everyone
I've been reading the list for a couple of days to try to get a feel
for how things work. There're some really knowledgeable people here,
and I'm hopeful that someone can help me with this problem.
I'm attempting to create a new markbook for exams... We're currently
using a series of about 40 Excel spreadsheets with something along
the lines of 88 pages worth of macro coding (excel 4 macro coding,
too. It's that old!) Normally, I would think that was a relatively
easy job, but it's become a bit complicated right at the beginning!
First, some background... (long - sorry!)
We have two parts to our course (part 1 and part 2 - original, I
know... and each part has several classes or 'papers' - 12 in part
1, for example. Each paper also has several faculty members who mark
scripts and dissertations within it. Examiners can mark several
papers and which examiner is marking which paper is known beforehand.
Which student is marked by which examiner is, for all intents and
purposes, random. So - each paper will have a mark entering sheet
with the list of candidates down the left and across the top, the
examiner names plus a few other fields (each examiner has to have a
rubric field - this is a code given to scripts when they violate the
rubric of the exam - too short, typed, too long, not enough questions
answered, etc.) and at the end, there should be an agreed mark and an
agreed rubric (if any) for each candidate. Then, these marks need to
be copied into a less regimented 'main markbook' (each student gets
two marks from two different examiners, but there can be as many as
30 examiners for a single paper) which only requires that the marks
be entered in Paper1_First_Mark, Paper1_Second_Mark, and Paper1
_Agreed_Mark (and rubric for all three) fields. I guess that's sort
of a secondary problem, compared to what I actually need help with,
though...
Ideally, what I would like to do is automate the process of creating
the mark sheets for each paper. The initial queries to get the right
people for each paper are simple enough, but I'm having trouble
figuring out how I can use the queries to get the format I need for
the markbook papers. A crosstab query *nearly* does it, but it won't
let me add extra fields (or better yet, variables for each extra
field that will use the same source as the examiner name!) and
requires some sort of mathematical function (count and sum are the
ones that come directly to mind). All the searching I did on PIVOT
(used in the crosstab) hasn't been very helpful in that you appear to
have to use it within a crosstab and there doesn't seem to be an
equivalent for other query types...
So... For those who, like me, prefer a visual example:
Student Query for Paper 1 Examiner Query for Paper 1
Candidate ID Examiner Name
1111A Jones
2222B Smith
3333C Green
4444D
5555E
6666F
Finished Table Layout with fakedata (tm):
ID Jones Jones_R Smith Smith_R Green Green_R Agreed Agreed_R
1111A 60 S 72 67
----------------------------------------------------------------
2222B 70 72 71
----------------------------------------------------------------
3333C 68 68 68
----------------------------------------------------------------
4444D 65 66 66
----------------------------------------------------------------
5555E 48 S 50 S 49 S
----------------------------------------------------------------
6666F 72 69 70
----------------------------------------------------------------
So... Any way that you all know of to do this? If I knew any VBA I'd
try to do it that way, but I'm a relative beginner to databases and
couldn't program my way out of a wet paper bag...
I'll be away for the weekend (and in fact, am just about to go home
ill - cold or something. Yergh), so if I don't get back to anyone
who might answer straight away, I will when I get back.
Thank you all in advance for any help or advice you might be able to
give me!
I've been reading the list for a couple of days to try to get a feel
for how things work. There're some really knowledgeable people here,
and I'm hopeful that someone can help me with this problem.
I'm attempting to create a new markbook for exams... We're currently
using a series of about 40 Excel spreadsheets with something along
the lines of 88 pages worth of macro coding (excel 4 macro coding,
too. It's that old!) Normally, I would think that was a relatively
easy job, but it's become a bit complicated right at the beginning!
First, some background... (long - sorry!)
We have two parts to our course (part 1 and part 2 - original, I
know... and each part has several classes or 'papers' - 12 in part
1, for example. Each paper also has several faculty members who mark
scripts and dissertations within it. Examiners can mark several
papers and which examiner is marking which paper is known beforehand.
Which student is marked by which examiner is, for all intents and
purposes, random. So - each paper will have a mark entering sheet
with the list of candidates down the left and across the top, the
examiner names plus a few other fields (each examiner has to have a
rubric field - this is a code given to scripts when they violate the
rubric of the exam - too short, typed, too long, not enough questions
answered, etc.) and at the end, there should be an agreed mark and an
agreed rubric (if any) for each candidate. Then, these marks need to
be copied into a less regimented 'main markbook' (each student gets
two marks from two different examiners, but there can be as many as
30 examiners for a single paper) which only requires that the marks
be entered in Paper1_First_Mark, Paper1_Second_Mark, and Paper1
_Agreed_Mark (and rubric for all three) fields. I guess that's sort
of a secondary problem, compared to what I actually need help with,
though...
Ideally, what I would like to do is automate the process of creating
the mark sheets for each paper. The initial queries to get the right
people for each paper are simple enough, but I'm having trouble
figuring out how I can use the queries to get the format I need for
the markbook papers. A crosstab query *nearly* does it, but it won't
let me add extra fields (or better yet, variables for each extra
field that will use the same source as the examiner name!) and
requires some sort of mathematical function (count and sum are the
ones that come directly to mind). All the searching I did on PIVOT
(used in the crosstab) hasn't been very helpful in that you appear to
have to use it within a crosstab and there doesn't seem to be an
equivalent for other query types...
So... For those who, like me, prefer a visual example:
Student Query for Paper 1 Examiner Query for Paper 1
Candidate ID Examiner Name
1111A Jones
2222B Smith
3333C Green
4444D
5555E
6666F
Finished Table Layout with fakedata (tm):
ID Jones Jones_R Smith Smith_R Green Green_R Agreed Agreed_R
1111A 60 S 72 67
----------------------------------------------------------------
2222B 70 72 71
----------------------------------------------------------------
3333C 68 68 68
----------------------------------------------------------------
4444D 65 66 66
----------------------------------------------------------------
5555E 48 S 50 S 49 S
----------------------------------------------------------------
6666F 72 69 70
----------------------------------------------------------------
So... Any way that you all know of to do this? If I knew any VBA I'd
try to do it that way, but I'm a relative beginner to databases and
couldn't program my way out of a wet paper bag...
I'll be away for the weekend (and in fact, am just about to go home
ill - cold or something. Yergh), so if I don't get back to anyone
who might answer straight away, I will when I get back.
Thank you all in advance for any help or advice you might be able to
give me!