I am getting an error that I cannot solve or work-around. I have simplified the code to the following example:
Call PICLOAD("Report2.tdr")
Call PICFileAppend("Report2.tdr")
Call PICFileAppend("Report2.tdr")
call picpdfexport("c:\sample.pdf")
call picdelete
Call PICLOAD("Report2.tdr")
call picexport("c:\sample.wmf", "wmf")
At the PicExport call I get the following error:
"The specified worksheet index (2) is invalid"
Can you please provide a solution or work-around?
I am using Diadem 9.1 SP2.
Thanks.