DbLookup does not work in a view. We've done this only in Web-enabled views. It is easy to do. Create a column and use a formula for the display. The column formula looks something like this: "[img src="yourdb.nsf/view/" + @Text(@DocumentUniqueID) + "/$File/" + @AttachmentName + "" border=0]" This assumes that there is a single attachment. For multiple attachments you may want to wrap table tags around the formula above so that you get a nicely formatted page.
Dig Deeper on Domino Resources - Part 4
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.