Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread PDF File Save/Retrieve
Thu, Jan 31 2019 4:18 PMPermanent Link

Mic Thurber

Software for Ministry

Hi,

I'm assuming I can save/retrieve a PDF file in a BLOB field. Assuming this is true, what's the best way to display the PDF file once it's been retrieved from the blob field?

Thanks.

Mic
Thu, Jan 31 2019 6:07 PMPermanent Link

Fernando Dias

Team Elevate Team Elevate

Mic,

Yes it is possible.
About the best way to show it, it depends on your application and if you have or not a control that can show PDF files.
A simple solution is to just save it to a temp file and open it with ShellOpen.
--
Fernando Dias
[Team Elevate]
Thu, Jan 31 2019 9:02 PMPermanent Link

Mic Thurber

Software for Ministry

Thanks, Fernando. I am hoping to find a solution that will work in my FMX app that will eventually be ported to Mac as well as work with PC. Mostly, I just need for the users to be able to view the PDF file, but some may want to print it. At least with Windows ShellOpen should work well. Thanks again.

Mic
Fri, Feb 1 2019 5:04 PMPermanent Link

Fernando Dias

Team Elevate Team Elevate

Mic,

Sorry, I meant ShellExecute with lpOperation = 'open'

--
Fernando Dias
[Team Elevate]
Image