J
Jeffrey Marks
I currently have a database that has student information in it. One
table is demographic information. Another table is for grades by
semester and a third represents the results of the state graduation
test, which may be taken multiple times.
The user wants to create a query where the output has 1 row per
student that includes grades for a school year and the graduation test
results. They plan to export the data from the query into a
statistical program which requires 1 record per student.
I had a couple of questions regarding this.
1) I know I can put the grades in by using an IIF statement (e..g. IF
course-code between 111 and 222, then put the English grade in this
field). Is there a more efficient way to do this other than the IIF
statement?
2) Since the graduation test can be taken multiple times and be shown
as multiple records in the table, is there a way to put the results
into a generic field (e.g. gradtest1) and then the next result in
gradtest2, or should I stick to my IIF statements of if the gradtest2
is null and gradtest1 is filled then put the data in gradtest2?
I hope this makes sense. Thanks!
Jeff
table is demographic information. Another table is for grades by
semester and a third represents the results of the state graduation
test, which may be taken multiple times.
The user wants to create a query where the output has 1 row per
student that includes grades for a school year and the graduation test
results. They plan to export the data from the query into a
statistical program which requires 1 record per student.
I had a couple of questions regarding this.
1) I know I can put the grades in by using an IIF statement (e..g. IF
course-code between 111 and 222, then put the English grade in this
field). Is there a more efficient way to do this other than the IIF
statement?
2) Since the graduation test can be taken multiple times and be shown
as multiple records in the table, is there a way to put the results
into a generic field (e.g. gradtest1) and then the next result in
gradtest2, or should I stick to my IIF statements of if the gradtest2
is null and gradtest1 is filled then put the data in gradtest2?
I hope this makes sense. Thanks!
Jeff