Thanks a lot for the reply, however, I couldn't get it to work. I think that it has to do with the fact that I'm using such an older version. It doesn't have the "only related fields" checkbox for example. Sorry about the length of the rest of this:
I tried some other stuff, which I'll get to, but if you're willing to read this, this is exactly what I want:
There are grades 7 through 12. Grades 7 - 10 have fixed courses, and grades 11 and 12 have some optional ones. This becomes important when it comes to report cards. the courses are listed horizontally, with various marks shown below. This is fine for grades 7 - 10. If I made a different layout for each, that would be an easy solution. However, for grades 11 and 12, as the system is right now, all the courses available are listed, and marks only appear for those courses that that student took. This means there are large white gaps appearing between the course "columns" for courses not taken by that student. What I would like to do is only list those courses that the student is taking.
This would make the reports look much neater. In addition, there are about 15 fields for each course. That works out to an awful lot of fields per student, most of which aren't used. So, What I was hoping to do, is have say 9 generic sets of course fields, label them course 1 through course 9 for example. I figured the easiest way to do it would be to select the courses each student took on their record, and using that list, distinguish each of those 9 generic sets of fields from eachother... hard to explain, do you see what I'm saying?
So here is an example of how I envision it working, though the only important things are entering grades and the final reports:
A new record is made for "bobby". His grade is entered, and that allows for the selection of x number of courses from a list of courses available to him (based on his grade). Let's say he takes eng, math & science to simplify. Now 3 sets of fields take marks for each of the three courses. So all the "course 1" fields pertain to eng, and I suppose would be linked by name (ie "course 1 name" = eng) or something like that, and all the "course 2" fields link to math, and so on. So once all the marks are entered, the user switches to the report card layout, and it displays the courses horizontally with the corresponding marks below. I guess it would be like
"Course 1 Name"---"Course 2 Name"---"Course 3 Name"---"Course 4 Name" ... etc.
"Course 1 Mark"-----"Course 2 Mark"-----"Course 3 Mark"-----"Course 4 Mark" ... etc.
so the previous example would appear something like:
English---Math---Science---(blank since it doesnt exist) ... etc..
--100--------99---------98-----------------(blank) ... etc..
as for the other stuff I tried, so far I tried creating a global field list for all the subjects available to each course. Then I created a "course" field which was a calculation that used the case command to return the global field for grade 11 if grade=11, return global field for grade 12 if grade=12, etc. It works fine, but I don't know how to store whatever values are checked for each record. I tried creating a field that got it's values from the "course" field (which got it's values from a calculation), but all I get is "[] <index missing>" so it seems like a dead end at the moment.
I'm stumped