Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Untag as favorite
Report Help
asldesktop
#1 Posted : Monday, January 09, 2012 10:53:36 AM

Rank: Premium user

Groups: Premium Users
Posts: 19
Hello

I am trying to write a report but I am getting stuck. I would like a report to show computer information as well as the Microsoft Office version as well.

I have written the below report which works fine, but the report does not show the computers that do not have Microsoft Office installed at all. Is there a way to change this report so that it shows all computers, and lists the MS Office version for the PC's that have it installed?

Quote:

Select Top 100000 tblcomputers.Computername, tblcomputers.ComputerUnique As [Computer Name], tblcomputers.Username As Username, tblComputerSystemProduct.Vendor As [Computer Manufacturer], tblComputerSystemProduct.Name As [Computer Model], tblComputerSystemProduct.IdentifyingNumber As [Service Tag], tblCompCustom.PurchaseDate As [Purchase Date], tblCompCustom.Warrantydate As [Warranty Expiration], tblSoftware.softwareName, tblcomputers.LastknownIP As [Last Known IP Address] From tblSoftware Inner Join tblcomputers On tblcomputers.Computername = tblSoftware.ComputerName Inner Join tblComputerSystemProduct On tblcomputers.Computername = tblComputerSystemProduct.Computername Inner Join tblCompCustom On tblcomputers.Computername = tblCompCustom.Computername Where tblSoftware.softwareName Like '%Microsoft Office%' Or tblSoftware.softwareName Like '%Visio%' Or tblSoftware.softwareName Like '%Project%' Order By tblcomputers.ComputerUnique


Many thanks in advance for any assistance.
Lansweeper
#2 Posted : Monday, January 09, 2012 12:59:34 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,378
Please try the report below instead.

Quote:
Select Top 100000 tblComputers.Computername, tblComputers.ComputerUnique As
[Computer Name], tblComputers.Username As Username,
tblComputerSystemProduct.Vendor As [Computer
Manufacturer],
tblComputerSystemProduct.Name As [Computer Model],
tblComputerSystemProduct.IdentifyingNumber As [Service Tag],
tblCompCustom.PurchaseDate As [Purchase Date], tblCompCustom.Warrantydate As
[Warranty Expiration], tblSoftware.softwareName, tblComputers.LastknownIP As
[Last Known IP Address]
From tblSoftware Right Join
tblComputers On tblComputers.Computername = tblSoftware.ComputerName Left Join
tblComputerSystemProduct On tblComputers.Computername =
tblComputerSystemProduct.Computername Left Join
tblCompCustom On tblComputers.Computername = tblCompCustom.Computername
Where (tblSoftware.softwareName Like '%Microsoft Office%') Or
(tblSoftware.softwareName Like '%Visio%') Or
(tblSoftware.softwareName Like '%Project%')
Order By tblComputers.ComputerUnique
asldesktop
#3 Posted : Monday, January 09, 2012 3:37:42 PM

Rank: Premium user

Groups: Premium Users
Posts: 19
Hello

Many thanks for the report but unfortunatley it is still disaplying the same results.

I have some computers on the network that do not have MS Office installed. I would like to see all the computers in this report, and if they have MS Office installed then have the version displayed. If they dont have it installed it can be blank.

thanks.
asldesktop
#4 Posted : Tuesday, January 10, 2012 10:29:52 AM

Rank: Premium user

Groups: Premium Users
Posts: 19
Hello

Is anybody able to help with this? I would appreciate it if so.

The report is displaying all of the columns I need, I would just like to know how I can get all computers to display, and only have the MS Office version filled in if it is installed.

Thanks in advance.
Lansweeper
#5 Posted : Tuesday, January 10, 2012 3:28:53 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,378
Please try the report below. (Our apologies, we misunderstood your question before.)

Quote:
Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique As
[Computer Name], tblComputers.Username As Username,
tblComputerSystemProduct.Vendor As [Computer Manufacturer],
tblComputerSystemProduct.Name As [Computer Model],
tblComputerSystemProduct.IdentifyingNumber As [Service Tag],
tblCompCustom.PurchaseDate As [Purchase Date], tblCompCustom.Warrantydate As
[Warranty Expiration], office.softwareName, tblComputers.LastknownIP
As [Last Known IP Address]
From tblComputers Left Join
(Select tblSoftware.softwareName, tblSoftware.ComputerName
From tblSoftware
Where (tblSoftware.softwareName Like '%Microsoft Office%') Or
(tblSoftware.softwareName Like '%Visio%') Or
(tblSoftware.softwareName Like '%Project%')) office On office.ComputerName
= tblComputers.Computername Left Join
tblComputerSystemProduct On tblComputers.Computername =
tblComputerSystemProduct.Computername Left Join
tblCompCustom On tblComputers.Computername = tblCompCustom.Computername
Order By tblComputers.ComputerUnique
Users browsing this topic
Guest
Untag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba