Hi gents - we have a weird problem all of a sudden. Current (old) process:
- read .psr files and set file names to datawindow .dataobject property (path + file name)
- go through complicated routine to read the .psr contents, set them up in a datastore, and roll them into a pdf file via loop through datastore (print to pdf using older printer driver).
What we're trying to do now is bypass all that stuff (esp since our old printer driver is dead now) and just print via PB Native pdf and SaveAs(), or some similar easy export from the one datawindow array holding the various psr file pointers. However SaveAs() will not save a datawindow array in one shot. If I just do a SaveAs() on one of the array positions (i.e. a single .dataobject set into datawindow), I get a pdf ok with SaveAs(), it picks up the psr data ok, for one psr.
But trying to loop through datawindow array and print each array position to the same pdf file name (i.e. concatenate the psr's into a the single pdf) doesn't fly, it just overwrites the previous array position "print" and you end up with only the final position in the pdf.
Any magic solutions to this scenario? Thanks in advance, we're stuck!