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

how to print reports that need data from related table


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

Recommended Posts

Posted

Hi :) It is again about my baby database..

for now, tblBaby is linked with tblHousehold, and tblHousehold is linked with tblNotes and tblContactNumbers.. I need to create a layout/report to display each baby's information along with their sibling's info, parents' info, the household's notes info (which is linked with tblHousehold by HouseholdID)and contact nums

In my layout, I have portals set up for the sibling info, notes and contact numbers..

The sibling portal and contact numbers portal work, but not the notes portal.. In the sibling portal, I display data from the tblBabies2 (a self-joint table) sorted by HouseholdID; and in the contact numbers portal, I display data from the tblContactNumbers sorted by HouseholdID; for portal notes, I display data from tblNotes sorted by HOuseholdID as well, but the portal only displays correct info for one baby but show nothing for the siblings (supposeingly it should display the same content for each sibling)...

Any ideas? Thank you!!

Posted

Why don't you print from the Babies table, with a sub-summary by household part? That way all siblings will be grouped together, and printed only once.

Posted

That would be one way (I guess it's better them than the babies?).

Or you could use the List function to gather the related data into field/s in Households.

Otherwise you'd have to use a "union" table and import babies, notes and contact numbers into it; a report can't have more than one body part, and the body part appears exactly once for each record in the found set.

This topic is 5218 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.