AnsweredAssumed Answered

Error Generating PDF with Empty Container Fields

Question asked by MarkCampbell on Apr 24, 2014
Latest reply on Apr 28, 2014 by MarkCampbell

Summary

Error Generating PDF with Empty Container Fields

Product

FileMaker Pro

Version

13.02

Operating system version

Windows 7

Description of the issue

When I generate a PDF on a record with an empty container field the PDF gives and error and truncates the documnet.

Details: I am using FileMaker 13.02 on Windows and have a database with a container field with nothing fancy in its attributes. This field may or may not be filled with a diagram image (.jpg) for a given record. I have a layout used to print a report using this field and it slides fields up to adjust for the size of the image (if there is one). I generate PDFs from this report's preview.

Result: On records with an image in the container this works fine - the PDF generates and is readable for the whole report. On records with nothing in the container the PDF viewer throws the error above and stops displaying anything from that point in the report on.

Steps to reproduce the problem

1. Create a database with a container field (nothing fancy in its attributes).
2. Create a layout with one field.
3. Create two records - one with an image in the container and one without
4. Go to the preview of the layout and Save as PDF on each record
Try to open the PDFs

Expected result

You would expect both PDFs to be error free - one with an image and one blank.

Actual result

The PDF with the image is error-free
The PDF without an image throws and error and does not generate anything from that point in the report on (does not generate the footer)

Exact text of any error message(s) that appear

Error in the PDF Viewer Dialog:
"An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem."

Screenshot attached

Configuration information

FileMaker Pro 13 working on FileMaker Server 13

Workaround

Paste in blank (white) placeholder images into the container.

Acrobat_Error.PNG

Outcomes