Populating combobox with a view

I want to make a generic form that allows a user to select a student from a combobox in a specified course. I would have a view, which would have student’s name and either would have course info in the document properties, or in another column. What I want is that when a user browses through the coursepage to this form, the combobox is populated with the students in the course. I dont think I can pass document property or another column as a criteria in @Dblookup. How do I do this?

Subject: Populating combobox with a view

You will have to pull the course name from the coursepage into a hidden field on this form and use the dblookup formula to show students from only that course. does that make sense ?