‎06-12-2015 06:53 PM
Solved! Go to Solution.
‎07-03-2015 02:10 PM
‎07-03-2015 02:10 PM
‎06-15-2015 02:06 PM
Select tblAssets.AssetName,
tblAssets.AssetID,
tsysAssetTypes.AssetTypeIcon10 As Icon,
tblAssets.IPAddress As [IP Address],
tsysAssetTypes.AssetTypename As Type,
tblAssets.Domain,
tblAssets.Description,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Location,
tsysIPLocations.IPLocation,
tblAssetCustom.State As Thestate,
tblAssets.Lastseen,
Case
When (tblAssets.Assettype = -1 And Coalesce(tblAssets.OScode, '') =
'') Then 'red' Else 'black' End As foregroundcolor
From tblAssetCustom
Inner Join tblAssets On tblAssetCustom.AssetID = tblAssets.AssetID
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Where tblAssetCustom.State = 1 And tblAssets.Assettype = 0
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now