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.

Printing related records - containers

Featured Replies

I have a table - Equipment

 

There is a child table - Equipment Photos, that may contain 0 or more (up to about 5 or 6 generally, but sometimes more!) photos for each equipment.

 

I want to print all equipment items, and for each item show ALL of the related photos, in a thumbnail. I've used single row portals to try and get this going, but it is limited by the number that I set up, and then it will always leave space for this many items, even if the equipment has none.

Does anyone have some suggestions on how best to achieve this?

  • Author

Figured it out - used columns and printed based on the Photos table instead of the Equipment table.

I want to print all equipment items, and for each item show ALL of the related photos

 

I suppose you realise this I thought I should mention it.  When you print from the child table, you will not have a record for a piece of Equipment without a single photo.  IOW, FM cannot natively generate left outer join.

 

So if you need to include all equipment, you will need another approach such as temp table.

I've used single row portals to try and get this going, but it is limited by the number that I set up, and then it will always leave space for this many items, even if the equipment has none.

 

Actually, that's not quite so: you can set a portal to slide up and close the empty rows. However, you must still set the portal to the maximum expected number of rows (or use the maximum expected number of single-row portals - though I don't think that's the best approach) - and there are also issues with how portals print across page breaks.

  • Author

Actually, that's not quite so: you can set a portal to slide up and close the empty rows. However, you must still set the portal to the maximum expected number of rows (or use the maximum expected number of single-row portals - though I don't think that's the best approach) - and there are also issues with how portals print across page breaks.

How would you suggest to do this? With a temporary table?

I suppose you realise this I thought I should mention it.  When you print from the child table, you will not have a record for a piece of Equipment without a single photo.  IOW, FM cannot natively generate left outer join.

 

So if you need to include all equipment, you will need another approach such as temp table.

Thanks for your response LaRetta.

I had overlooked this issue - silly me.

I'll mess around some more!

  • Author

Working pretty much perfect now!

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.