Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report to PDF
Message
 
À
19/01/2004 11:11:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00868124
Message ID:
00868215
Vues:
27
Fernando,

I decided to give this a look, but can't seem to get it to work from within my application.

I have a form with a command button to print the report "QC75F.FRX" I copied the three files identified on the Wiki to the same folder as the form's source code. Then I put this in the button's click event:
loSession = xfrx ('XFRX#INIT')
 
nRetVal = loSession.SetParams ("C:\WINDOWS\TEMP\qdms\Cert.Pdf",,,,,,"PDF")

If nRetVal = 0
    loSession.ProcessReport ("qcf75.Frx")
    loSession.finalize
endif

Release oSession
but all I get is a status bar error message "Reference Unknown: XFRX"

Can you enlighten me on what I am missing? I am trying to get this to be a "Click the button, get a PDF file" with no further user action.....

Thanks,


>Hi Phil,
>
>Many options isn't? But good ones!
>
>My two finalists where eReports (http://fox.wikis.com/wc.dll?Wiki~eReports_HowToUseIt~VFP) and XFRX (http://fox.wikis.com/wc.dll?Wiki~XFRX_HowToUseIt~VFP). I chose XFRX.
>
>Regards,
>
>Fernando
>
>>I have several modules in an application where I would like to be able to create the report, create a PDF file from it, and then email it.
>>
>>I've read several recent threads about the various PDF add-ons, but wanted to get some input on which one might be best for this simple take. I don't need to merge several docs to one PDF or have output to any other format (excel, etc). Simply run a Fox report, create a PDF and move on.
>>
>>Which add-on would you recommend?
>>
>>Thanks,
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform