Hello!
I'm creating a database where results of tests for students can be saved. To do this I have a database where a student can be assigned to a specific education. This education is coupled to a number of subjects which in turn have a number of tests.
I have made a form in which someone can double click a student which opens up another form where he can mark results for all tests coupled to the education that particular student is following. This report however, only shows tests that have already been created as testdata. So now I'm looking for a way to populate this form with the proper tests.
Problem is, I have no idea what the best way is to do this. I assume one way would be to create a button in this form that will create the appropriate tests (look at education of student, get subjects and tests and then create results for those) and then do a requerry, but I don't have a clue on how to do this. (the creating part, a requerry shouldn't be much of a problem anymore
)
Does someone have an example or some advice for me?
If interested, my databasedesign: (not allowed to post links or images
)
img7.imageshack.us/img7/2416/databaseontwerp.png
(education = Opleiding, subject = Vak, test = Toets, result=Resultaat)
Much, much appreciated!
I'm creating a database where results of tests for students can be saved. To do this I have a database where a student can be assigned to a specific education. This education is coupled to a number of subjects which in turn have a number of tests.
I have made a form in which someone can double click a student which opens up another form where he can mark results for all tests coupled to the education that particular student is following. This report however, only shows tests that have already been created as testdata. So now I'm looking for a way to populate this form with the proper tests.
Problem is, I have no idea what the best way is to do this. I assume one way would be to create a button in this form that will create the appropriate tests (look at education of student, get subjects and tests and then create results for those) and then do a requerry, but I don't have a clue on how to do this. (the creating part, a requerry shouldn't be much of a problem anymore
Does someone have an example or some advice for me?
If interested, my databasedesign: (not allowed to post links or images
img7.imageshack.us/img7/2416/databaseontwerp.png
(education = Opleiding, subject = Vak, test = Toets, result=Resultaat)
Much, much appreciated!
Last edited: