Hi All,
I am facing issue with using ole control and insert pdf file to datawindow.
Use below script can not work in the datawindow.
dw_1.object.ole_1.InsertFile(ls_flie_name)
Appreciate your advice if anyone knew about this issue.
Hi All,
I am facing issue with using ole control and insert pdf file to datawindow.
Use below script can not work in the datawindow.
dw_1.object.ole_1.InsertFile(ls_flie_name)
Appreciate your advice if anyone knew about this issue.
Hi Chirs,
Noted with Thanks.
Best Regards
XuYY
Hi Chris,
Thanks for your support.
I have submitted the support with attached test app (standardsupport/track/view?id=9744).
Thanks.
Best Regards
XuYY
Hi Chris,
When set the layer to band. I done the below testing:
1. Please refer to the attachment file (Test1): Add the insert file script to the retrieveend event. show error message.
2. Please refer to the attachment file (Test2): Remove the retrieveend script and add a button to call the insert file after report retrieve, no error message, but can not change the pdf file in the OLE control.
Best Regards
XuYY
Hi Xu;
Yes, that should work in the DWO the same as a Window. The only considerations would be to make sure that a) there was at least one row in the DWO primary buffer and b) which "band" & "layer" the OLE control is located. The latter might stop the PDF from displaying if too restrictive.
Regards ... Chris
Hi Chris,
Thanks for your reply.
Yes. OLE control class is Acrobat PDF reader.
If the OLE control in window, can work normally. ole_1.InsertFile(ls_flie_name)
But if the OLE control in datawindow, can not work. dw_1.object.ole_1.InsertFile(ls_flie_name)
Best Regards
XuYY
Hi Xu;
What OLE control class is already assigned to your ole_1 object in your DWO?
Is it the Acrobat PDF reader?
Regards .. Chris