>>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
Yes that is strange, because I copied it from their manual. I also tried the other code already, but have a problem to get an object reference for loXFF, it does not mention anything about this in the context. Do you know how that needs to be instantiated?
loPreview = CREATEOBJECT("frmMPPreviewer")
loPreview.oDisplayDefaults.StartingPage = 2
loPreview.oDisplayDefaults.DefaultOutputFileName = "invoice15_09"
loPreview.oDisplayDefaults.ZoomFactor = -1
loPreview.oDisplayDefaults.PagesPerSheet = "1x1"
loPreview.PreviewXFF(loXFF)
loPreview.show(1)
Christian Isberner
Software Consultant