Hi All, and thanks for replying-
I've got the browse to work in generating the link. The links are to additional documents that are PDF's that have been stored as blobs in the database. The code I'm using is something like:
SET(AFpicView)
LOOP
NEXT(AFpicView)
IF ERRORCODE()
BREAK
END
IF loc:Links
loc:Links = loc:Links & ', '
END
loc:Links = loc:Links & |
p_web.CreateHyperLink(AFpic.Description, |
'HTTP://' & CLIP(p_web.RequestHost) & |
'/ViewAttachment' & |
'?Type=Item' & |
'?ID=' & PResi:SelfServiceItemID & |
'?Row=' & AFpic.Order, |
'_blank')
END
Then I display the loc:Links field (making sure to turn on the XHTML option).
Now I'm trying to get the ViewAttachment procedure written. In this procedure I plan on transferring the Blob to a file using the arguments that are on the link. I've created a NewWebPage procedure where I'll trap the arguments and build the PDF. Still working on the learning curve...
Thanks,
Gordon