Store and access pdf (1 Viewer)

ellenr

Registered User.
Local time
Today, 09:25
Joined
Apr 15, 2011
Messages
397
My db's files are mysql files housed at my website. Is there a way to upload pdf files and open them from a form in the db? Or, if I uploaded the pdfs into a folder in the website, is it possible to open them from the db? If so, how do I get the url for the uploaded file? The only way I have thus far managed to make content available is to make the pdf into a text file and put it into a table, which loses some formatting, and I am trying to make this process dumb-proof for others with access to the db to be able to add documents.
 

isladogs

MVP / VIP
Local time
Today, 14:25
Joined
Jan 14, 2017
Messages
18,219
I found this post in the newly added 'Unanswered Topics' link

The fact that nobody has replied after 3 weeks suggests that none of us know the answer to your problem. However, I use a web browser control to open PDF files stored on my network. I see no reason why you shouldn't be able to do the same thing for your files linked to your website.

It shouldn't be difficult to extract the url for your website files
Just right click on the website hyperlink to get the url

Better still, have a table with the file names and urls
Then add links on your form to open these in the web browser control or in the default application used for PDF files e.g. Acrobat, MS Edge
 
Last edited:

Users who are viewing this thread

Top Bottom