Hi!
I've got a SQL Statement that looks like this:
SELECT project.strprojectid, strprojecttitle, dtDueDate, strProjectStatus, strConsultantName
FROM project, projectConsultant, Consultant
WHERE project.strProjectID = '9jjx1ujn4sa'
AND project.strProjectID = ProjectConsultant.strProjectID
AND projectconsultant.strConsultantID = consultant.strConsultantID
Basically there is more than one consultant per project...and what I would like to do is pull the first four fields and then somehow pull my consultants and list them together in a new temp field so I only have one row of data. Can anyone help me with this problem? I know I need to create some sort of UDF but am not sure how to go about this process.
Thanks!
I've got a SQL Statement that looks like this:
SELECT project.strprojectid, strprojecttitle, dtDueDate, strProjectStatus, strConsultantName
FROM project, projectConsultant, Consultant
WHERE project.strProjectID = '9jjx1ujn4sa'
AND project.strProjectID = ProjectConsultant.strProjectID
AND projectconsultant.strConsultantID = consultant.strConsultantID
Basically there is more than one consultant per project...and what I would like to do is pull the first four fields and then somehow pull my consultants and list them together in a new temp field so I only have one row of data. Can anyone help me with this problem? I know I need to create some sort of UDF but am not sure how to go about this process.
Thanks!