Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trying to append to existing pdf using a script, but start from where data ended on last page instead of on a new page... IS THIS POSSIBLE?

Featured Replies

  • Newbies

The title of my post says it all. Well, almost! You will need to know that each set of found results get appended to the initial pdf using a different layout. I already have a script that is successfully creating a pdf and populating it with data from a search result using one layout, then performing the same function three more times, appending to that existing pdf using a different layout each time. In the event that the data from one search doesn't fill up the last page, there is blank space. I am wondering if there is any way I can do either of the following:

1) Somehow trim the blank space at the end of the last page of each set of results/layout so that the next one displays immediately

OR

2) Somehow get the date and layout for the next set of results to begin displaying in the empty space of the last page (assuming there is room for header and at least one entry), before proceeding to the next page

I realize these might be pipe dreams, but would like to hear that as well, if that's the answer.

Thanks!

Eli

No, this is not possible (at least not in Filemaker; it might be possible to remove the blank spaces in a PDF editor application?).

However, there could be another way to get the result you want: use a single layout to print all the records to a single PDF at one go. If you need different formatting for different sections, you can use conditional formatting and/or hiding of fields and/or calculation fields. But we would need to know more details to provide more specific advice.

 

Another thing: if you don't care about the page size (as is indicated by your first option), then maybe just use a shorter page. You will have more page breaks, but the remaining space on the last page of each printout will be reduced.  

 

Edited by comment

Other options are to use a reporting temp table or the virtual list technique. 

  • Author
  • Newbies

Well, I do need different layouts for different sections. Next time I dive into it, I will refer back to this thread and try some of these techniques. I will have to look up the reporting temp table and virtual list techniques, as I am not hip, but shortening the overall page length might be a decent simple solution. I'd have to see how it plays with the layout. Definitely easiest! Thank you all :)

13 minutes ago, EliB said:

I do need different layouts for different sections.

I tend to disagree. You may need a different display for each section, and it may be that using different layouts is the most convenient way to accomplish this. But as noted above, there are other ways.

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.