Screenshots:
The view in question is "Server Warranty Expirations...."
Screenshot of report returning no results
Screenshot of query returning results:
Here is the query itself:
SELECT dbo.tblADComputers.Computername, dbo.tblADComputers.OperatingSystem, dbo.tblComputerSystemProduct.Vendor, dbo.tblCompCustom.Warrantydate, dbo.tblCompCustom.PurchaseDate, dbo.tblcomputers.Domain
FROM
dbo.tblADComputers INNER JOIN dbo.tblCompCustom ON dbo.tblADComputers.Computername = dbo.tblCompCustom.Computername INNER JOIN
dbo.tblComputerSystemProduct ON dbo.tblADComputers.Computername = dbo.tblComputerSystemProduct.Computername INNER JOIN dbo.tblcomputers ON dbo.tblComputerSystemProduct.Computername = dbo.tblcomputers.Computername
WHERE
(dbo.tblADComputers.OperatingSystem LIKE '%Server%') AND (GETDATE() + 270 > dbo.tblCompCustom.Warrantydate) AND
(dbo.tblCompCustom.Warrantydate <> '1900 - 01 - 01') AND (dbo.tblcomputers.Domain LIKE '%AHSNET%')
I tried renaming it with web30rep (& 40) as a prefix but that did not work. What I had been doing previously (which I guess was wrong) was just adding my views manually into the tsysreports table. Thanks in advance.