Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Portal 2 "levels" below


This topic is 3935 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Let's assume this structure

TableA-----TableB------TableC
             -
             -
             TableD

TableB-TableD relation is 1:1

 

If I insert a portal of tableC in the TableA layout and I insert a field of TableD in that portal, the field displayed will not be in relation of the tableC record (the portal table). It seems to display the last value of the the tableD field associated to table B. 

 

Basically to make it work I had to create an occurrence of table D and link it to tableC.

 

Any way to avoid this ?

 

 

 

 

 

Posted
Let's assume this structure

 

What you describe is not a structure. Please give your tables meaningful names and indicate which is 'one' and which is 'many' in each relationship.

Posted

What you describe is not a structure. Please give your tables meaningful names and indicate which is 'one' and which is 'many' in each relationship.

 

Just created a fictional example to illustrate what I was trying to explain .

mini_694767Structure.png

mini_798508481.png mini_273314782.png

mini_893906263.png

mini_646334574.png

 

As you can see in the final picture, the DriverName is incorrect in the portal inserted in the company table layout .

So it does not display the Driver Name of the Assignment related to the trip in the portal but displays the Driver name related to the first Assignment of that company.

 

I know I can create occurrences and/or lookup fields but is there a way to insert a merge field in a portal and specify that I want it to be in relation of the portal record not the main table.

Posted

Short answer: no.

 

 

To illustrate the behavior you are experiencing, consider just these three tables:

 

Parent -< Child -< Grandchild

 

Place a portal to Grandchild on a layout of Parent. Place a field from Child into the portal. You will see that the field always shows data from the first related record in Child. IOW, Filemaker never "looks back" on the relationship axis, only forward.

 

You must either place additional TOs "behind" the portal's TO or use calculation fields in the portal's table to get the data from the other tables (these can be unstored calculations - you don't need to use a lookup).

This topic is 3935 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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