I have some survey questions based on the participant choosing several items from a single image (in most cases), or choosing between two different images. I've generated a report that has the information grouped like I want it, except that I would like to display the actual images, instead of just the filename. Any suggestions how to incorporate the image into the headers would be appreciated.
Here's how it currently looks:
And here's the code:
BEGIN select 'dbr.hdr', 'Question';
select 'dbr.hdr', 'Slide 1';
select 'dbr.hdr', 'Slide 2'; select
q.LText as 'Question',
(select s.filename as 'file1' from research.slides s where q.slideID = s.ID) as 'Slide 1',
(select s2.filename as 'file2' from research.slides s2 where q.slideTwoID = s2.ID) as 'Slide 2',
c.alias as 'Alias',
a.response as 'Response'
from
research.questions q
join
research.answers a on a.questionID = q.ID
join
research.customers c on a.customerID = c.ID
where
q.slideID IS NOT NULL
order by
q.ID; END