Hi, I have created this report. The report will give me PC owner based on "Owned by". But if there is no Owner of a PC then I will not see it in the report list, how can I change it so It also shows me the PC's without any owner?
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Username As [Last logged-on user],
tblAssetCustom.Custom1 As [YLT-nr],
tsysIPLocations.IPLocation,
tblAssetCustom.Model,
tblADusers.Department As Costcenter,
tblADusers.Name As [PC Owner]
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblAssetUserRelations On tblAssets.AssetID =
tblAssetUserRelations.AssetID
Inner Join tblADusers On tblADusers.Username = tblAssetUserRelations.Username
And tblADusers.Userdomain = tblAssetUserRelations.Userdomain
Inner Join tsysAssetRelationTypes On tsysAssetRelationTypes.RelationTypeID =
tblAssetUserRelations.Type
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Where tblAssetCustom.State = 1