Jump to content
Server Maintenance This Week. ×

Get number of portal rows related to specific record


poly_paparas

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

Recommended Posts

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

Link to comment
Share on other sites

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