Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7291 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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???

Posted

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.

This topic is 7291 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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