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.

Portal within a portal??

Featured Replies

I am new to FileMaker but am familiar with database structures (I am a Crystal Reports consultant).

I have what seems to be a simple need: I want to be able to show two levels of one-to-many relationships on the same screen.

I have a database for interior decorators. I have a Job table, a Room table and a Room Detail table. I want to create a Job screen that will show multiple rooms with multiple detail items for each room.

At first I thought you could put a portal within a portal, but that doesn't work. Is there a way to group the top level and then insert a portal? I'm used to grouping using Crystal Reports but I can't seem to be able to figure it out in FileMaker.

Thanks.

If you just need to generate a report showing information grouped from three tables, you can just construct a subsummary report from the "many" (Room Detail) table, and sort (group) the records first by Job, then by Room, and then by Room Detail (or whatever you want the room detail records sorted by) If you only want a specific Job or Room, just do a find (query) of the Room detail table for records belonging to that Job. You can search related fields just by placing them on the layout and allowing entry in find mode.

With subsummary reports you can only view them in preview mode, so you can't have portal scrollbars or buttons like you can in browse mode. (It's really meant for printed reports)

Alternatively, you could just have a portal in the Job Table that shows the Rooms, and place a Go to related record script step button on the portal. This script could open a popup window that will display the Room record along with the second portal for room detail. Not a portal within a portal, but it works well for browsing rooms and details.

Dana

Hi BigMike,

I'm unsure if this would fit your needs because you didn't describe enough for me to get the complete visual picture. But I've attached a demo file which shows one way the information might be displayed for you. wink.gif

The room details value list could be concatenated from your detail fields any way you wish and could contain statistics about the rooms instead. I just couldn't get a visual on how you tracked the data.

LaRetta

job.zip

Hi,

There are neat techniques of hierarchies with FM7, but I'm not sure it can apply in your case.

While it breaks the common rules, and would rely on a scripted approach (not implemented here) so that you make sure there's one and only one instance of each, you may also introduce your Rooms into the Many side this way...

Sorry, not very explanative.

ParentAndChild.fp7.zip

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.