1 Reply Latest reply on May 19, 2009 11:21 AM by philmodjunk

    APPEND TO FILE NOT WORKING WINDOWS

    deltatango

      Title

      APPEND TO FILE NOT WORKING WINDOWS

      Post

      I have a script that makes a pdf file with multiple pages for each record in a found set.

       

      I have 5 layouts for the same table, each layout with the fields differently formatted depending on the record type (couldnt use tabs because it is version 8 and the gotoobject script step doesn't exist there).

       

      So in essence, the script creates a random filename and then loops through each record in the foundset, going to the appropriate layout and then appends the current page/record to the pdf.

       

      The problem is that when I run the script and then open the PDF, it only has the latest record in it.

       

      I have checked 400 times that the first save as PDF saves the file. Then the following saveaspdf command in the loop has the append to file CHECKED.

       

      it still is doing this. IT WORKS ON A MAC, BUT THIS ERROR ONLY HAPPENS ON WINDOWS.

       

      Any ideas why this could be?

       

      Thanks 

       

      P.S. Why do we have a RTE if every time I try to use it, it strips all formatting out? Am I missing something?