FM10 crashes when script appends to pdf.
Description of the issue
In FM9, I had written a script that generated a pdf file on the desktop saved as the record name. The script has a variable set for the file name. The pdf includes additional (up to 2) pages (layouts) depending of the type of record (If(field1="x")). I did this through IF statements and appending to the existing pdf with the variable as the output file (just like the first page). It worked great until I upgraded to FM10. Now, the script gets the first default page saved and then crashes. The script is not making it through the second "Save Record as PDF" where it is appended. I'm sure I've left out some key piece of information; but if anyone has an idea, I'd love to hear it!