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.

Featured Replies

Hello:

I have a main Table A with 2 one to many tables B and C. I want to create a report with base information from Table A and the child records from both Table B and Table C. What would be the best approach to accomplish this? I know I'll need 2 finds - one for each of child tables B and C. Can I assume that after performing these 2 separate finds that I will have 2 selections in memory? So if I put a 2 portals on the report layout -- one for Table B and one for Table C -- I think I can accomplish what I want. Does this sound like the right path?

Dom

There is no way to get related records from two different tables onto the same layout without using portals. Unfortunately portals aren't the best for printing.

One work-around is to print the results form each table on a separate page.

Another is to redesign the data structure and have records B and C in the same table -- this isn't always suitable.

Portals will work if it all fits on 1 page, or if you're willing to dedicate a page to each portal. But portals "break" across page breaks, as in "lines chopped in half".

There are other possibilities, just not easy ones. There's Value List Items, or Copy All Records into a temporary field.* But my favorite for touchy situations like this is a Custom Function(s) GetRows, by Bruce Robertson (it's actually 2 CFs); available at:

http://www.briandunning.com/filemaker-custom-functions/list.php

It can bring what are normally fields in a portal into a calculation field in the parent table. Then you can put it (them) on the layout as a Merge type field, and it will break properly over page breaks; use Tabs to separate fields.

*ValueListItems requires a concatenated field in the child table; bloats the file; always sorts alphabetically.

*CopyAllRecords requires a dedicated layout; bloats the parent table, where the data is pasted; requires a script.

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.