I have a mixed image population of TIFFs and PDF files --- I can view the Tiffs without any problem, however I cannot find documentation on viewing PDFs? Can someone tell me how I can "link" PDFs?
Posts: 2 | Location: san francisco, california, usa | Registered: Mon November 19 2001
TIFF files are a supported image format, so you can view them in the Images window. PDF files are not, so you cannot.
However, you can link to them so you can launch them in their native application -- Adobe Acrobat. If you have DB/TextWorks version:
4.1 or later -- You would use the "Detect URLs..." feature in Tools>Options. For the Microsoft code to recognize the file name as a URL, it must begin with either file:// or \\ (the latter is for UNC file names). You can add the file:// using Beginning (and possibly Separator) Text in the Form Designer. Note that the Microsoft code cannot recognize file names containing spaces, so you must use the MS-DOS file name if your file name contains spaces (see the Properties for the file in Windows Explorer or type DIR/X at a command prompt).
4.0 or later - See JavaScript Sample #6 in the DB/TextWorks online help.
any older version - You'll need to use Copy Special and Launch. See Product Support Knowledgebase article 2039 ( http://support.inmagic.com/supbase.htm )
[This message has been edited by Lisa (edited 11 March 2002).]
Posts: 1888 | Location: Woburn, MA, USA | Registered: Thu July 13 2000
If you need to open PDF files in Adobe Acrobat Reader (their "native application"), you can do so either using a hyperlink <file://c:\path\filename.pdf>, or by using the Sample JavaScript Script 6 in your form.
What the original poster was asking about was the ability to open PDFs in the DB/TextWorks Images window, which was implemented in version 9.0.