>>>>I am trying to figure out how the use the XFRX preview, but the example does not seem to work for me:
>>>>
lnRetVal = loSession.SetParams(,,,,,,"PREVIEWFRM")
>>>>always returns -4.
>>>>
>>>>Does anybody have experience with xfrx report preview and can give me a hint what I am doing wrong?
>>>
>>>Hi Christian,
>>>
>>>PREVIEWFRM is unknow output type.
>>>
>>>See to help:
https://eqeuscom.atlassian.net/wiki/display/DOC/XFRX+previewer>>>
>>>MartinaJ
>>
>
>See to extension handler on the same web page.
>
>USE invoices ORDER customer
>LOCAL loSession, lnRetval, loXFF, loPreview, loScripts
>loSession=EVALUATE([xfrx("XFRX#LISTENER")])
>lnRetVal = loSession.SetParams("",,,,,,"XFF")
>IF lnRetVal = 0
> REPORT FORM invoices OBJECT loSession
> loXFF = loSession.oxfDocument
> *
> * initialize the previewer
> *
> SET CLASSLIB TO xfrxlib ADDITIVE
> loPreview = CREATEOBJECT("frmMPPreviewer")
> loPreview.setExtensionHandler(CREATEOBJECT("MyExtensionHandler"))
> loPreview.windowType = 0
> loPreview.iBook = 0
> loPreview.PreviewXFF(loXFF)
> loPreview.show(1)
>ENDIF
>
>
>MartinaJ
>
Thanks, I did not see that one.
Christian Isberner
Software Consultant