Jump 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.

Need Help with Relationship

Featured Replies

  • Newbies

Hi everyone.  I am new to this forum, so I hope I am posting in the right spot.  I created a database for my company at work. On multiple screens I have a patient lookup.  The relationship is patient table: last name = insurance table: last name lookup.  The lookup is a drop down that shows patient last name and first name and then pulls other corresponding information when selected.  The lookup works, however it only pulls one record.  Example.  If I have multiple patients with the same last name like smith only one smith shows up in the box.  I need all the smiths to show up to pick the right patient.  It seems like it should be such a simple thing but it isn't pulling the records.  I did check the patient database and yes all the records are there.  I also checked that I have selected the all records option in the relationship box.  I am using filemaker 17.  Can anyone help me or have you seen this issue before.  Thank you very much.

3 hours ago, Jennifer said:

I need all the smiths to show up to pick the right patient. 

A lookup copies data from the first related record only.To show all related records, you need to use a portal based on a relationship matching on last name. Have a button in the portal for selecting the right record. This button should call a script that grabs the selected record's data and populates local fields with them.

Alternatively, you could use the Go to Related Record[] script step to show the related records in a card window and allow the selection to proceed from there.

This is assuming that you really want to do a "lookup" - i.e. copy the selected record's data. Otherwise you should only grab the selected record's unique ID and use it as the match field for a second relationship to the same table. The difference is that in the former case the copied data will not change if the original record is modified.

 

 

 

 

 

Edited by comment

  • Author
  • Newbies

Thank you.  I will try this.  

Create an account or sign in to comment

Important Information

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

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.