5 Replies Latest reply on Feb 17, 2009 1:27 PM by TSGal

    Export to PDF Script causing filemaker 10 to crash

    jonnyt

      Title

      Export to PDF Script causing filemaker 10 to crash

      Post

      This works in Filemaker 9 but crashes Filemaker 10 ---->

       

      We have a script that runs what we call a "report profile".

       

      the script essentially looks at the ID number of the customer and outputs a report based on the customers requirements.

       

      One of the customers requires the report in pdf format. The report is two page including a fee note on page 2.

       

      This particular work provider  requires the Report and fee note to be inseperate PDF documents.

       

      therefore we have a script that outputs page 1 to a pdf file called report.pdf

      the script then outputs page 2 - the fee note to a file called feeNote.pdf

       

      the script then attaches the rport to an email and promopts tghe user to manually add the fee note to the email (due to the fact filemaker cant attach multiple items)

       

      Somewhere around this point Filemaker 10 crashes.

       

      Fortunately, there are only 2 users that output this type of report, so they have to use Filemaker 9 which allows the script to runn suucessfully.

       

       

      Any ideas why this is happening? We have a 40 user system and there are only two people using Fielmaker 9.

        • 1. Re: Export to PDF Script causing filemaker 10 to crash
          TSGal

          jonnyt:

           

          Thank you for your post.

           

          Do you know where the crash occurs?  Is it after the user manually adds the second file to the email?  Is there an error message?  If so, what is it?

           

          I need some additional information before I can determine what steps to take next.

           

          TSGal

          FileMaker, Inc. 

          • 2. Re: Export to PDF Script causing filemaker 10 to crash
            jonnyt
              

            My problem seems to be similar to this: http://fm.lithium.com/fm/board/message?board.id=aut&thread.id=469&view=by_date_ascending&page=1

             

            However, to answer your question:-

             

            We have a 2 page layout, page one is a report, page 2 is an invoice fee note.

             

            In this instance the client prefers the report and fee note on a seperate page.

             

            The script crashes when it tries to generate thepdf from page 2 of the layout.

            • 3. Re: Export to PDF Script causing filemaker 10 to crash
              TSGal

              jonnyt:

               

              Thank you for the clarification.

               

              A similar problem was reported previously on this forum.  In that case, if a PDF file is generated, the current layout is more than one page, and the starting page is not 1, then FileMaker crashes.  The information was sent to Development and Software Quality Assurance (Testing), and they were able to confirm.  No additional information is available.

               

              In the mean time, create a new blank layout, and copy the second page of the layout (invoice fee note) and paste it into the new blank layout.  In your script, change to this new layout and print (from page 1).  You will not crash.

               

              TSGal

              FileMaker, Inc. 

              • 4. Re: Export to PDF Script causing filemaker 10 to crash
                jonnyt
                  

                Thanks for your kind help.

                 

                We have a site licence and the the current layouts will export to pdf fine in Filemaker 9.

                 

                It's quite a tall task to move all multi page reports to a new layout, so we will probably keep a few users on Filemaker 9 until a fix is provided in a future patch.

                 

                Would running our database in a mixed FM9 / FM10 envirnment pose any issues?

                 

                 

                • 5. Re: Export to PDF Script causing filemaker 10 to crash
                  TSGal

                  jonnyt:

                   

                  Having a mixed FileMaker Pro 9 and FileMaker Pro 10 environment is fine.  The only obvious issue is if you create a calculation in FileMaker Pro 10 that uses features not available in FileMaker Pro 9, they will not work in FileMaker Pro 9.

                   

                  You don't have to move all multi-page layouts to separate layouts.  You only have to move those layouts where the current printing begins on page 2 (or anything other than page 1).

                   

                  TSGal

                  FileMaker, Inc.