Jump to content
Server Maintenance This Week. ×

Combine nested related tables for printing


mikeytt

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

Recommended Posts

Hello - hopefully someone can point me in the right direction for this.

I have three related tables - Quotes, Headers and Data. The quote table holds several headers, and each header holds several Datas.

What I want to be able to do is to be able gather and print all that information in one page, like below.

Quote X

Header A

Data 1

Data 2

Data 3

Header B

Data 7

Data 8

Header C

Data 13

Data 14

Bearing in mind that the number of headers for each quote can be variable, and the number of datas for each header are also variable, so a quote could have as many as 10 Headers, each of which could have 10 or more datas. Overall though ,the number of entries is unlikely to be more than 100.

From what read so far, I think i need to create another table where i extract all this information to line by line and then use that for printing? Not sure if this is the best or correct approach though. Any help greatly appreciated

Link to comment
Share on other sites

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