In order to support this you will need to create another script, which you will make the target of all your PDF links. These links will contains a query string variable that identifies the PDF file you would like to display.
The script will load the appropriate PDF file from the memo file (what you called "field blob") and return it to the browser, along with the appropriate HTTP headers. For additional information on how to serve non-HTML content from your scripts please refer to the Returning Non-HTML Content section of the
Returning Content to the Browser topic in the FoxWeb documentation.
Note that FoxWeb 4 added the fwPDF object, which makes it much easier to do this.
FoxWeb Support Team
support@foxweb.com email |
Sent by poropeza on 01/30/2009 11:56:58 AM:
Hi, excuse me my english :)
I have a question, at the moment I have a system that shows something thus:
Reference item description purchase date invoice
9999 1234 product x 01/29/2009 1500
. . . . .
I need to add a column with a Link to a document pdf, this document this stored in a field blob, for example:
Reference item description purchase date invoice Pdf
9999 1234 product x 01/29/2009 1500 show
. . . . . .
where the field show have a Link to file pdf
when the client click in the Link (show) that client can see the selected document pdf
I have foxweb ver. 2.6
thanks for its aid , thanks very much