I'm trying to find a way to flag the first record of a sorted relationship. Patients have photos taken over a period of time and I want to show in one portal just the record of the first photo taken at any given date. The portal will be shown in the patient table. The eventual aim is to make this portal a selection mechanism which will cause all photos of that date to show in another portal. This is more difficult than I thought or I'm having brain fade. Any help would be appreciated.