G
Guest
Hello,
I have a form called Components which displays data from a table called Comps.
In this table there are students codes and their course codes. A student
can have more than one course code. I want to open another form that will
let me update other pieces of data based on the student and course.
I have used
stLinkCriteria = "[Person Code]=" & Me![Person Code]
but this just gives me all the courses for the selected student.
How can I just display the student and only 1 of their courses. I thought I
could add
& "[Course Code] =" &Me![Course Code]
but this doesn't work.
Any suggestions would be appreciated.
Rhys
I have a form called Components which displays data from a table called Comps.
In this table there are students codes and their course codes. A student
can have more than one course code. I want to open another form that will
let me update other pieces of data based on the student and course.
I have used
stLinkCriteria = "[Person Code]=" & Me![Person Code]
but this just gives me all the courses for the selected student.
How can I just display the student and only 1 of their courses. I thought I
could add
& "[Course Code] =" &Me![Course Code]
but this doesn't work.
Any suggestions would be appreciated.
Rhys