Not sure if I can do what I want to do.
I have the following tables:
people (contains ID, name, tel)
student (student details)
referral (referral details)
The referral table is linked to both people and student on their respective IDs.
Now I want to produce letters based on the student, BUT I want to be able to select the person who appears on the letter. This will not necessarily be the one in the referral. How can I do this? I want to be able to let the user select the person as a parameter, which then goes and gets the relevant information from the people table. i'm thinking this is probably going to have to be a subreport, but then I'm not sure how to pass the data from the parameter (which would need to be converted to the personID rather than the name) to the subreport??
Thanks
I have the following tables:
people (contains ID, name, tel)
student (student details)
referral (referral details)
The referral table is linked to both people and student on their respective IDs.
Now I want to produce letters based on the student, BUT I want to be able to select the person who appears on the letter. This will not necessarily be the one in the referral. How can I do this? I want to be able to let the user select the person as a parameter, which then goes and gets the relevant information from the people table. i'm thinking this is probably going to have to be a subreport, but then I'm not sure how to pass the data from the parameter (which would need to be converted to the personID rather than the name) to the subreport??
Thanks