‎11-10-2016 02:17 PM
Select Top 1000000 tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetName,
tblAssetCustom.Printerstatus As Status,
tblAssetCustom.Printedpages As [Printed Pages],
tblAssets.Lastseen,
tblAssets.AssetID,
tblAssets.IPAddress,
tblAssetCustom.Location,
tblAssets.LastChanged,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Where tblAssets.AssetName Not Like 'rn%' And tblAssetCustom.Printerstatus Like
'%Out of paper%'
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now