CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 10/26/2007 12:41:39 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 75 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"eastw" <>
NewsGroup User
MS Reporting Service - Group Data10/26/2007 12:41:39 PM

0

I'm new to MS Reporting service. I'm working on project that requires me to generate report displaying some information from Car table and with each of the car show the maintenance job done on them and the  total cost of all jobs. Report should look something like the following:

Reg#        Job Date     Cost     Total
-------------------------------------------------
ABC123   10-Oct-07    120
             12-Oct-07    100      220

XYZ980                                  0

ABB723   10-Oct-07    20
             20-Oct-07    100      120
_________________________________________

I have parent table having Car's information and child table having Maintenance info along with vehicleID as foreignKey.

The problem is if I use query and make a join then it will omit the 2nd record as no maintenance record exists for that car.

I've read the article on MSDN-> http://msdn2.microsoft.com/en-us/library/ms252073(VS.80).aspx
and as well as on code project-> http://www.codeproject.com/useritems/DataGrouping.asp
but don't have any idea how to go about it?

Thank you in advance for helping.

"eastw" <>
NewsGroup User
Re: MS Reporting Service - Group Data5/9/2008 9:35:54 AM

0

Problem solved! Left Outer Join will ensure that every record of table on left is selected. So every car is selected even if no maintenance record exists.

Emad Suria
__________
Developer
2 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT