Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Export Field To PDF FM

Posted on 2013-12-06
3
Medium Priority
?
665 Views
Last Modified: 2013-12-08
What is the best way, if possible, to export the field contents and save the contents into a PDF format?
0
Comment
Question by:PachecoPrimo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Assisted Solution

by:historychef
historychef earned 2000 total points
ID: 39703383
Use the Save Records as PDF script step (available in FMP 8 and later). Create a layout containing only the field(s) you want to export, then go to that layout and isolate the records you want to export (using a Find or a Go to Related Record step). Your complete script will look something like the following:
#  If you plan to export multiple records, make the following a List layout
Go to layout ["PDF Export Layout"]
#  Isolate the record(s) you want to export
Perform Find [Restore]
Save Records as PDF []
#  Optional step to return to your original layout
Go to layout [original layout]

The Save Records as PDF script step optionally allows you to specify the output file name (and path), whether to create a new file or append this export to an existing PDF file, set security options, and set initial view parameters for the PDF reader.
0
 

Author Comment

by:PachecoPrimo
ID: 39703688
Hi historychef,
Thanks for your comment. I am trying to create a pdf initially and then append more records to it via a loop.  How can I store temporarily the initial pdf, so that the remainder pages can be added?
Thanks
0
 
LVL 4

Accepted Solution

by:
historychef earned 2000 total points
ID: 39703774
If you check "Append to existing PDF" in the Save Records as PDF script step, FileMaker will create the file if it doesn't already exist, and append new pages to it if it already exists. Note that you cannot append individual records on the same page: every subsequent execution of the script will start a new page, including headers and footers, if any. Here's an example, produced by executing the same script twice. If you want to change the headers or footers on subsequent pages, you can create different layouts for the first page and for the other pages.

I suggest you play around with the script step until you get what you want.
Test.pdf
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question