AnsweredAssumed Answered

Print layout even when there are no found sets

Question asked by Salem on Jun 17, 2015
Latest reply on Jun 17, 2015 by Salem

Title

Print layout even when there are no found sets

Post

Hi All, 

PhilModJunk - I know you would definitely have a solution for me.

Objectives - Printing a progress report that consist of a compilation of layouts which has the same project ID.

My key identifier here is project_id. I have scripted for the FM12 to run through

         
  •  6 different layout,
  •      
  • find records from each layout which ties to the project_id
  •      
  • Save as PDF, with append feature enabled.

The script works fine if there are records found for all 6 different layouts. Trouble comes when let say there are not records found in layout 3, the whole script will just exit. 

Is there anyway, how I can get the system to generate a pdf even when no records are found ?

My script are as attached.

 

 

On_Print_Site_Diary_-_To_Desktop__%28SiteDiaryHosted%29.jpg

Outcomes