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

Tips for showing summary of records that don't exist


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

Recommended Posts

Posted

I've got a Class Registration database.

Tables

Students

Classes

Registrations

Payments

Registrations is a join between Students and Classes and a one-to-many with Payments.

I'm trying to create a balance sheet for a class that will show all the Payments made towards a Class, sorted by Student with a summary of those Payments.

Right now, I've got a layout based on Payments. I GTRR from Class to Registrations to Payments and sort by student name. The total is in a summary field showing amount paid. That's almost fine. Students can register for a class without making a payment. So the "Balance Sheet" won't show any of those students.

I could create a ghost payment of $0 for every registered student, but that messes up the logic and data validation and seems non-normalized.

I could also create a text calc in Payments concatenating the fields I want (Date, Amount, Payment Method) and then another text calc in Registrations that pulls a List() of related Payments and base my layout on Registrations using calc fields to summarize rather than layout summaries, but that seems very inelegant.

Any ideas? Thanks.

Posted

I don't know of a good solution for this. If you need to include all registered students, then obviously your report should be based on Registrations. Using List() or a custom function to enumerate the individual payments seems like a decent solution to me - but I understand the printing of sliding portals has improved a lot since v.7, so I would look into that first, since it requires practically no additional resources.

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