I try to save a Datawindow with PDF format. It's ok while I use a simple DW. If it contain several Nested I the result is a blank page...
Does anybody else have this problem?
Thanks
Example :
lds_ds = create datastore
lds_ds.dataobject = "d_constitution_principale"
lds_ds.settransobject(SQLCA)
ll_ret = lds_ds.retrieve(5000)
lds_ds.Object.DataWindow.Export.PDF.Method = Distill!
lds_ds.Object.DataWindow.Printer = ls_imp
lds_ds.Object.DataWindow.Export.PDF.Distill.CustomPostScript="Yes"
ls_ret =lds_ds.Modify("datawindow.Export.PDF.Method = '1'")
ls_ret =lds_ds.Modify("datawindow.Export.PDF.xslfop.print=no")
li_ret = lds_ds.SaveAs("c:\temp\d_constitution_constitue.pdf", PDF!, true)
Does anybody else have this problem?
Thanks
Example :
lds_ds = create datastore
lds_ds.dataobject = "d_constitution_principale"
lds_ds.settransobject(SQLCA)
ll_ret = lds_ds.retrieve(5000)
lds_ds.Object.DataWindow.Export.PDF.Method = Distill!
lds_ds.Object.DataWindow.Printer = ls_imp
lds_ds.Object.DataWindow.Export.PDF.Distill.CustomPostScript="Yes"
ls_ret =lds_ds.Modify("datawindow.Export.PDF.Method = '1'")
ls_ret =lds_ds.Modify("datawindow.Export.PDF.xslfop.print=no")
li_ret = lds_ds.SaveAs("c:\temp\d_constitution_constitue.pdf", PDF!, true)