Hi there,
I've make a very basic query to show :
- AssetName
- Username
- Location
- Manufactur
...
And I want to show the moodel of computer.
I don't understand why but I can't find the model in table tblcomputersystem
Here is my query :
Select Top 1000000 tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetName,
tblAssets.AssetID,
tblAssets.Username,
tsysIPLocations.IPLocation,
tblADusers.Firstname,
tblADusers.Lastname,
tblOperatingsystem.Caption,
tblAssets.Lastseen,
tblBIOS.Manufacturer,
tblBIOS.SerialNumber
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Left Join tblADusers On tblADusers.Username = tblAssets.Username And
tblADusers.Userdomain = tblAssets.Userdomain
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tblBIOS On tblAssets.AssetID = tblBIOS.AssetID
Inner Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Order By tsysIPLocations.IPLocation
Lansweeper version 5.0.0.41
Tks,
Kreg