
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2010 07:11 PM
hi
Im trying to use the report builder to take a list of machines that have "Microsoft Office Enterprise 2007"
what i want to see in my report is
Computer Name , Software Name, and user name (of the last person to log on to that machine.)
heres what i have set up
Select tblSoftware.ComputerName, tblSoftware.softwareName,
tblUsersInGroup.Username, tblUsersInGroup.Domainname
From tblSoftware Inner Join
tblUsersInGroup On tblUsersInGroup.Computername = tblSoftware.ComputerName
Where tblSoftware.softwareName = 'Microsoft Office Enterprise 2007'
when i run it, i get 11 entries for each pc. i.e. picks up all the usernames on the machine.
if anyone could help id appreciate it, as my sql knowledge is very limited, see above query for proof! 🙂
Thanks.
Im trying to use the report builder to take a list of machines that have "Microsoft Office Enterprise 2007"
what i want to see in my report is
Computer Name , Software Name, and user name (of the last person to log on to that machine.)
heres what i have set up
Select tblSoftware.ComputerName, tblSoftware.softwareName,
tblUsersInGroup.Username, tblUsersInGroup.Domainname
From tblSoftware Inner Join
tblUsersInGroup On tblUsersInGroup.Computername = tblSoftware.ComputerName
Where tblSoftware.softwareName = 'Microsoft Office Enterprise 2007'
when i run it, i get 11 entries for each pc. i.e. picks up all the usernames on the machine.
if anyone could help id appreciate it, as my sql knowledge is very limited, see above query for proof! 🙂
Thanks.
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2010 12:57 PM
Perfect, Thanks a million for that......


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2010 09:43 AM
Try this:
Select tblSoftware.ComputerName, tblSoftware.softwareName,
tblComputers.Userdomain, tblComputers.Username
From tblSoftware Inner Join
tblComputers On tblComputers.Computername = tblSoftware.ComputerName
Where tblSoftware.softwareName = 'Microsoft Office Enterprise 2007'
