Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

meets criteria

Featured Replies

I got a one to many relationship. Its People to Medical Records. I know the age of each person at the time of the Medical Record.

What I need to is a field I can search on for anyone that we have a recored for between two ages but also showing me all their medical records.

If person has any med_record between the ages of 10 and 12 I want to see all their medial records.

How can I do this?

Thanks in advance.

1. Find the people that meet the criteria.

2. Go to Related Record [ from Medical Records, match found set ]

---

Now that I read this, I am not sure where the age is kept. If it's in the medical record, you may have to apply the same trick twice: find the records that meet the age criteria, find their owners (by GTRR, matching found set), and finally find ALL their records as before.

Edited by Guest
clarification

  • Author

My end goal is to see all of these at once in a list view. I'm really tired so I'm not thinking straight but I'm not seeing how GtRR is going to help me.

And to clarify Age is stored in the Medical records table.

My first attempt has been this, a Calc field in the People table

If ( Medical_Records::Age at Date ≥ 10 and Medical_Records::Age at Date ≤ 12 ; 1 ; 0 )

So far it working but I've not tested it much to see if it broken

.

A calc field doesn't seem like a good idea because (a) it hardcodes the age range, and (:) it only considers the FIRST related record. So if my first record is at age 8, I will NOT be found - even though I do have a later record at the age of 11.

If you find the records with age between 10 and 12 (or any other range), then GTRR from People while matching the found set, you will end up with a found set of all people that have a record within the age range. The second GTRR will find you ALL medical records of these people.

  • Author

comment,

thanks so much for your suggestions. it took me a little while to understand what you were saying but once i did it really has helped.

i'd never use the GtRR like this before so i didn't really understand it at first but thanks for helping.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.