AnsweredAssumed Answered

Creating a pdf from 2 tables and using GTRR

Question asked by wow001 on Jun 19, 2018
Latest reply on Jun 21, 2018 by wow001

I have created a script that saves a report to pdf on the desktop of the user. The text for the report is from one table (main table) and the images/photographs from the second table (related)

 

I am using the GTRR to filter all images/photographs related to the text, then creating the pdf in two stages.

First text, then using the "append pdf" add all the images/photographs to the pdf.

 

The problem is, when there are no images related to the text, the pdf of text is created but then goes into a spin

and I have to force quit Filemaker.

 

Is it possible to detect that when there is no related records and change to a different script or after the text pdf has been created exit the script?

Outcomes