One to many relation

Stimulsoft Reports.NET discussion
Post Reply
dpeel2757
Posts: 19
Joined: Fri Feb 29, 2008 6:09 pm

One to many relation

Post by dpeel2757 »

I have another problem that I can't seem to wrap my head aroung and find a solution so hopefully someone can help.

I have a products table which contains information about the cabinets in my database. Each cabinet has a list of prompts that are assoicated to it in a prompts table. These tables are linked through a ProductsIndex column. Each row in the prompts table is a differrent prompt.

I want to display my report so that i see the following:

1 Door Base Product (Product Description from Product Table)
Width 18 Height 24.5 Depth 26 (Products prompts coming from the prompts table) These would appear on a single row.

I have almost accomlished this using a combintion of groups and cross-tabs but haven't got it perfect. Any ideas would be great. Again thanks in advanced.



Stephan1
Posts: 122
Joined: Fri Aug 31, 2007 7:22 am
Location: Germany

One to many relation

Post by Stephan1 »

Have you tried a Master and Detail Report ?.

Where Master is your Base Product and the Detail is your prompts table.

Give it a try. Also there are examples for this


Stephan
Post Reply