I've got an app that creates a pdf report based on the contents of a couple of cards. It used to work well and now I've done something and can't seem to get it to work properly any more.
There are 4 cards. If I try to convert them all to pdf only the 1st works. If I try just the last 3 only the 2nd and 3rd pages come out and the fourth page doesn't show one of the fields.
Here's the code that I'm using.
Code: Select all
   put specialFolderPath("documents") & "/edCoachReport.pdf" into tPDFPath
   open printing to pdf tPDFPath
 
      Print card "CrepIntro" of this stack into 0,0,1000,1500
      print break
      Print card "CrepRes" of this stack into 0,0,1000,1500
      print break 
      Print card "Crep3" of this stack into 0,0,1000,1500
      Print break
      Print card "Crepquest" of this stack into 0,0,1000,1500
      Print break
   close printingThanks
Max