|Subject:||Re: Viewing PDF's
|Date:||Sat, 16 Jun 2018 01:47:06 +1000
|From:||Robert MacMillan <firstname.lastname@example.org>
One way is to use the Excel Library and an Excel Template. I move a db
into excel and then save it as a .pdf all from code every day. The only
slightly tricky bit was getting the format for the template Excel Sheet
perfect otherwise it tends to do things like carry across two pages in
width if the data is too long in a cell.
The save command is
Where fixedformat "0" is a pdf. Liz pointed me in the direction of how
to do this some years ago so there might still be a little bit of extra
information in another post.
I presume one could do exactly the same thing from Word as well.
On 16/06/2018 1:01 AM, Kevin Baker wrote:
> Am I reading the below post correctly... "The pushbutton calls the form
> with the embedded PDF. The viewer can then read, print or save the
> article to file"
> Is it possible to open a PDF File using a Paradox form? If so How??
> "Craig" wrote in message news:email@example.com...
> In some software I developed which helps phsyicians write complex
> orders, there is the ability for the user to view pdf's of medical articles
> as evidence for the alogrithms I developed.
> In the open method of a blank form I have the following code:
> This works well. I have a button on the medication writing form Called
> The pushbutton calls the form with the embedded PDF. The viewer can then
> read, print or save the article to file.
> HOWEVER, when the form is closed, instead of coming back to the calling
> form, it goes to a non paradox window such as a webbrowser or any other
> running program which may be open. This will undoubtedly confuse the user.
> I call the form with:
> If not F.open(":Coags:AntiThromboticTherapyChestPDF.Fsl", WinstyleDefault,
> 0,0,15000,12000) then
> errorshow("Could not open the form.")
> Any suggestons?