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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SaveAs PDF format

Status
Not open for further replies.

CANTIN

Programmer
Apr 2, 2004
2
FR
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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top