Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PDF and VFP data on first page
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01530528
Message ID:
01530535
Vues:
48
What Sergey and I were implying by our question, is if you generate PDF using your own report, then it's easy to add Client's info.
If you're using already existing PDF, then it doesn't seem easy at all.

>>Are you using a report or what exactly to generate the PDF file?
>>
>
>
>Using the code below to print the PDF...
>
>
>LOCAL lnRetval, lcFile, lcOperation
>lcFile = "\PHARMACY\NoticeofAppeal.pdf"
>* Right click a file in Windows Explorer to see what other operations are available, for example Print
>lcOperation = "Open"
>
>DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
>INTEGER handle,;
>STRING @sFile,;
>STRING @lp,;
>STRING @dir,;
>STRING @dir1,;
>INTEGER ncmd
>lnRetval = ShellExecute(0, lcOperation, lcFile, "", "", 1)
>IF lnRetval = 31 && Acrobat is not installed
>	loAdobeAcrobatForm = CREATEOBJECT("frmAcrobatLink")
>	loAdobeAcrobatForm.show				
>ENDIF
>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform