Can anybody help me out, i need a little help building this report. Basically i want it to check to see if Nitro PDF is installed and then say 'NitroPDF installed' else leave it blank.
Here's my code, but i'm having trouble with the case statement:
Select Distinct Top 1000000 a.AssetID,
a.AssetName,
tsysOS.Image As icon,
(Select (Case When tblSoftware.AssetID = 1 Then 'Nitro Pro Installed' Else '' End)
From tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.softwareName = '%Nitro Pro%')
As [Nitro PDF]
From tblAssets a
Inner Join tblAssetCustom ac On ac.AssetID = a.AssetID
Left Outer Join tsysOS On a.OScode = tsysOS.OScode
Where ac.State = 1 And a.Assettype = -1
Order By a.AssetName