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

Get number of portal rows related to specific record


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

Recommended Posts

Posted

Hi All,

I want to be able to get the number of portal rows in a record (essentially count the number of records in the related table for one given record).

My setup is as follows.

I have a layout pulling records from a table called patients, with the patient's details. There is a portal in this layout, pulling data from a related record called visits, which holds the patient's visits so far.

I want to be able to put a count of the number of visits on the layout. I tried various things, but I get the total number of records in the visits table, not the ones related to the particular patient

Any help would be appreciated.

George

Posted

Try a calculation field (in the Patients table) =

Count ( Visits::PatientID )

---

P.S. Please update your profile with your version and OS.

Thank you very much for your help.

It worked like a charm...

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