I'm having a terrible time managing RDLC reports. I couldn't find any comprehensive tutorials in the internet and MSDN isn't as helpful as I wish it could have been either.
Particularly, I've been having a problem trying to get a particular table/matrix to appear based on a client's requirement. It goes like this.
In the DB I have two tables: (substituted fake names for secrecy's sake)
- Spaceship Info (contains prices for repairs, fuel, and other spaceship info)
- Spare Parts (contains info for a variety of spare parts)
The table in the report should come out as something like this:
http://i53.photobucket.com/albums/g59/Sazabi02/Capture.png .
- Blue Headers contain Spaceship Info
- Purple Headers contain Spare Parts info
- Red are totals
Things to take note of include:
- Spare Parts columns have to be dynamic. There are numerous kinds of spare parts and hardcoding everything would be impractical.
- The layout was explicitly specified to be that way. The dynamic columns are placed in
- It's entirely possible that a spaceship would not have any spare parts. I LEFT OUTER JOINED it in the DB but it caused the column grouping in RDLC to produce a blank column for the spaceships that didn't have spare parts.
between non-dynamic columns. (having problems with this. AFAIK columns are automatically placed on the right side and there's no option to place them in between.
I've tried out a few things. Pounding my head on the keyboard didn't work after frustratingly trying to make the matrix work as I think it was intended to and Like separating it into three separate tables. One for the totals. One for the dynamics and one for the fixed columns. (Two actually because one fixed column should be before and the others after the dynamic ones.)
Can anyone provide some insights on how to do this in Visual Studio RDLC reports?