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

Using a Self Join Relationship to List Single Incidence Of Duplicate Value


Len

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

Recommended Posts

  • Newbies

Could anyone explain how I can make a list using a self-join relationship of unique (most recent based on descending Date and Time) incidence of a duplicate value? I am a chiropractor and want to generate a list of the most recent visit for all patients within a date range. patients each have a unique ID and the daily visits are identified via a text counter serial number field. I appreciate any help... Thanks!

Link to comment
Share on other sites

The self join in your visits table should be keyed on the PatientID key. The relationship can be sorted on the child side descending order based on the date. Now you can reference that related child date field on the parent's layout and it will display the latest date.

Link to comment
Share on other sites

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