all groups > sql server reporting services > august 2004 >
You're in the

sql server reporting services

group:

Multiple Datasets



Multiple Datasets Stan Huff
8/15/2004 2:14:02 PM
sql server reporting services: I am trying to write an invoice report for. It will include details of both
companies involved and then list worked hours and expenses on a per project
basis. I need the worked hours to display in a table under each project and
the expenses in a seperate table under each project.

I have tried what seemed to be a simple way... Created on dataset for the
address info of both companies and then a second dataset which contains the
the expeneses and worked hours per project and then created a list for
containing the project name and 2 tables for holding the hours worked and
expenses repectively. I then used filters on each table to display only the
row types it was concerned, expense or hours. Doing this made it so the
parent list failed to render the project name for projects beyond the first.

A second method I though would be to have each table have it's own dataset
and then somehow filter it according to the parent data regions current
project, but can't figure out how to create the join between the 2 datasets.

Any help would be appreciate including maybe a totally different approach to
this problem.

-stan

Re: Multiple Datasets Bruce Loehle-Conger
8/15/2004 7:14:19 PM
Read up on subreports. A subreport is just a normal report with parameters.
First get the report working with parameters. Then embed it, right click on
the report and set the parameter to the field you want it mapped to in the
main report. Very easy once you get the hang of it.

Bruce L-C

[quoted text, click to view]

Re: Multiple Datasets Bruce Loehle-Conger
8/15/2004 7:15:23 PM
One other note. Filters bring over all the data and then filters it. If you
have a lot of data then this will be very very slow. It will particularly
kill you if you are developing off of a subset of the data and then you go
live with the real stuff which is exponentially bigger.

Bruce L-C

[quoted text, click to view]

AddThis Social Bookmark Button