Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

how to display the total portal row records in the parent layout?


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

Recommended Posts

Posted (edited)

I want to display the total contacts for each company but I don't know how to do it. Could anyone help me? Thanks.

PS: if a contact change to the different company, the result of total contacts must change to.

Thanks

James

Total_contacts.zip

Edited by Guest
Posted

Hi James,

There are several ways to do this (which is best depends on how you want to use the information). Here is one method:

In the Contacts table, create a Summary field called sTotalContacts, and define it to return a count of the contact ID field (whichever field is the primary key in the contacts table).

Now, below the portal on the Company layout, add the sTotalContacts field, sourced from the TO that the portal is based on. It will display the number of contacts for each company, and will update as the number of contacts changes (and/or as the screen is refreshed).

See if that does what you want. :wink2:

Posted

Thanks for your help, this is what I need. Could you use my file and change it for me so that I can understand it more. I am a novice. Thank again.

Best Regards,

James

Posted

Hi James,

I dont think that this really requires an update to your sample file. It should be pretty straight forward and am confident that you should be able to get it quickly.

1. Create a new summary field in your Contacts table. It will then ask what options that you want for your summary field. Select the 'Count of' option and then pick your ContactID field since that is the most reliable to count as it is your primary key.

2. Go to the 'companies' layout and now put that RELATED summary field on the layout below the portal.

Posted

We did not say to use a calculation field, we said to use a SUMMARY FIELD. In define fields, choose the type of summary.

This topic is 6127 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.