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.

Perform Find based on field value???

Featured Replies

I have built a solution for my medical practice with a main table "Patients" and among others another related table "visits" (related via Pt_ID) with all the patient's visits.

I want to produce a report with all the information for a particular patient (from the "Patients" table) on the header and then all the visits of this particular patient on the body.

I tried using a portal, but that restricts the number of visits on the page.

I thought I could perform a find among the visits, using this criterion

Visits::Pt_ID=Patients::Pt_ID, or better still, copying the Pt_ID to a global field on the "Patients" table and using the gPt_ID for the search. The I could just sort the found set and display it in the Report Layout.

The problem is I cannot set the find criteria to a field's content. It seems that I have to give a specific value...

Can anyone help???

You need a join table: patient_visit. Print the report from the join table.

Transpower--

I'm not sure a join table is the solution. Instead, poly could do it with a script, so:

Enter Find Mode[]

Set Field["PT_ID", "Patients::Pt_ID"]

Perform Find[]

Of course, there may be problems determining what value is IN Patients::Pt_ID, so it might be best to create and set a global field.

Then poly could display whatever report was necessary.

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.