I am trying to build a report of certain vendor and name which i have but I want it to pull the location from the Web40AllIPLocations, it gives me the correct location but the PC is listed multiple times? Anybody know why? Here is what I am using currently,
Select Top 1000000 tblComputers.Computer, tblComputerSystemProduct.Vendor,
tblComputerSystemProduct.Name, tblComputers.Username,
web40AllIPLocations.IPLocation
From tblComputerSystemProduct Inner Join
tblComputers On tblComputers.Computername =
tblComputerSystemProduct.Computername Inner Join
web40AllIPLocations On tblComputerSystemProduct.Computername =
web40AllIPLocations.Computername
Group By tblComputers.Computer, tblComputerSystemProduct.Vendor,
tblComputerSystemProduct.Name, tblComputers.Username,
web40AllIPLocations.IPLocation, tblComputers.LastknownIP
Having (tblComputerSystemProduct.Vendor = 'Dell Inc.' And
tblComputerSystemProduct.Name = 'Latitude E6400') Or
(tblComputerSystemProduct.Vendor = 'Hewlett-Packard' And
tblComputerSystemProduct.Name = 'Latitude E4200') Or
(tblComputerSystemProduct.Name = 'Latitude E4300') Or
(tblComputerSystemProduct.Name = 'Latitude E6500') Or
(tblComputerSystemProduct.Name = 'Latitude E6410') Or
(tblComputerSystemProduct.Name = 'HP Compaq dc5750 Small Form Factor')
Thanks in advance for any advice\help.