You would write an Xpath retrieval for your course object with a constraint similar to:
[Mymodule.Course_Student =$Student]
or if running this in a grid it would be something like:
[Mymodule.Course_Student ='[%CurrentObject%]']
Hope this helps