Hi, Im having trouble makeing a report to gather som information. Im trying to make a reprot that shows AssetName AssetTypename, Memory, NrProcessors, Processor ,Mac ,Location, Manufacturer,username, and userdepartment. It is the user depart men i am haven problems getting to work.
This is what i got so far:
Select Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tsysAssetTypes.AssetTypename,
  tsysAssetTypes.AssetTypeIcon10 As icon,
  tblAssets.Lastseen,
  tblAssets.Memory,
  tblAssets.NrProcessors,
  tblAssets.Processor,
  tblAssets.Mac,
  tblAssetCustom.Location,
  tblAssetCustom.Manufacturer,
  tblAssets.Username
From tblAssets
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssetCustom.State = 1
Regradt Jeost