Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Composite datawindow

Status
Not open for further replies.

BBO007

Programmer
Jun 11, 2009
18
GB
Hello,

I would like to access to the properties of a datawindow inside a composite dw.

I have tried the code below, but I am not sure this is working fine.

adw_data is hte composite dw
dw_1 is the datawindow inside the composite

adw_data.Object.dw_1.Object.DataWindow.Export.PDF.XSLFOP.Print = 'Yes'

Do yo have any idea ?
Thanks
 
Looks like you need it to be:

adw_data.object.dw_1.Object.DataWindow.PDF.XSLFOP.Print = 'Yes'

and

adw_data.object.dw_1.Object.DataWindow.Export.PDF.Method = XSLFOP!

Matt

"Nature forges everything on the anvil of time"
 
Thank you Matt

The line for the method is working fine.
But the line for the print is failling :
adw_data.object.dw_1.Object.DataWindow.PDF.XSLFOP.Print = 'Yes'

I think it should be written as below:
adw_data.object.dw_1.Object.DataWindow.Export.PDF.XSLFOP.Print = 'Yes'

I am working with a composite datawindow and it seems that the XSLFOP method is not working correctly with composite.
So, I am changing to use the Distill! method.
But is still failing also.
I don't understand why because when saving a grid datawindow into a PDF file is working ok.
Do you have any idea.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top