Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Blank rows in Preview (dev mode)

$
0
0
Hi I'm writting my First SSRS report on SQL 2008 R2, using MS Visual Studio 2008Some of the report rows are blank, yet when I export to excel I can see the data.The Report is based of a view, similar to this example[code="sql"]create view myTstReportASSELECTtC.CustID, tC.CustName, tInv.InvDate,ISNULL(tInv.SalesPerson,'') as SalesPersonFROM tblCustomer tCLEFT JOIN vwLastInvoice as tInvON tC.CustID = tInv.CustID[/code]When I added the left join, I started to get the empty rows in the previewer but the rows are populated when I export to ExcelI made sure for all character fields I return '' rather than NULL. I tried to put a[code="sql"]ISNULL(tInv.InvDate, '19000101') as InvDate[/code]The Blank rows are those with NULL InVDates but some rows do show.I just cannot figure it out. I am formatting the dates to a custom format however that would effect all NULL dates and putting 19000101 didn't fix it.I'm still in dev on my machine have not tried publishing (if this is the right term) it on my local SSRS to see if error is still thereThanks

Viewing all articles
Browse latest Browse all 2791

Latest Images

Trending Articles



Latest Images