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.

one dropdown showing records from 2 tables

Featured Replies

I have 3 tables altogether: Prospect, Patient, and Message

Messages (phone messages usually) can come from either prospects or patients.

How should I structure a relationship so that when I create a new message in the message table, the user is presented a dropdown list of all the prospects and patients ?

I was actually wondering that perhaps I don't in fact need a prospect & a patient table, and that I could just have a person table, that had a person_type field so that person could either be a prospect or a patient based on a checkbox.

Any insight anyone can offer would be awesome.

thanks. :

A single person table sounds like a good idea. The dropdown list isn't. It will get very long unless you do some filtering. I have been using a portal and a filter using John Mark Osborne's Type Ahead method. This gives more infromation than a dropdown list to help select when there are more than one person with the same name.

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.