Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xfrxlib
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
01666654
Message ID:
01666909
Views:
83
>Hi,
>
> XFRX#LISTENER is report listener. See to: https://eqeuscom.atlassian.net/wiki/spaces/DOC/pages/3899432/Running+XFRX
>
>
>USE demoreps\invoices ORDER customer
>LOCAL m.loSession, m.lnRetval
>m.loSession = XFRX("XFRX#LISTENER")
>m.lnRetval = loSession.SetParams("output.pdf",,,,,,"PDF")
>IF m.lnRetval = 0
>   REPORT FORM report1 OBJECT m.loSession NOPAGEEJECT
>   REPORT FORM report2 OBJECT m.loSession
>ELSE
>   ? m.lnRetval
>ENDIF
>
>
>MartinaJ

Hi Martina,

Since VFP 9 uses report listener, does it make sense to still use the syntax
loSession = XFRX("XFRX#INIT")
even when exporting to PDF reports with one data band? That is, do you recommend that only the
m.loSession = XFRX("XFRX#LISTENER")
be used?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform