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

Printing from different layouts in a single operation


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

Recommended Posts

Posted

I've created a school database which produces student reports; however, not all the subjects which a student studies use the same layout, which makes printing an entire set of reports for a single student cumbersome.

So far, we've printed all the reports for subject X then for Subject Y and collated them all together. This is clearly a pain.

Is there a simple way/script which will let me print all the reports collated together for a single pupil (or even better, all pupils) in one operation?

Posted

...not all the subjects which a student studies use the same layout...

Can you say why this is designed this way? Why not have Subject just be an attribute (field) of the Course table. In a relational system, you would then print the report from the Student-Course join table (showing the related Subject field on the layout).

Posted (edited)

For various reasons, the school requires a completely different format/appearance for some subjects' reports. There are 3 separate layout formats for the reports; however, within that, there are 4 or 5 subjects which share a common layout, the rest have a completely different layout, then a final student report has a third layout.

Edited by Guest
  • 2 weeks later...
Posted

Easy, but you need a script. The script-maker is surprisingly intuitive. I'm new to this myself, but I'll try to give you an example:

Enter Browse Mode

Go to Record/Request/Page[ First ]

Loop

Enter Preview Mode

Go to Layout [ “SubjectX” (tablename) ]

Print [ ]

Go to Layout [ “SubjectY” (tablename) ]

Print [ ]

Enter Browse Mode

Go to Record/Request/Page[ Next ]

End Loop

Use that as a start, and mess around with it until it works. Post any problems here, or if you don't understand the logic.

  • 2 weeks later...

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