
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2015 03:31 PM
Hello all,
We have a few machines that only list one video controller, namely the Dameware MiniRemoteControl (virtual) driver . We now that they are using the Standard VGA driver, but for some reason it does not appear on the list.
What we've been trying to get working is a report that shows a list of machines which have only one display driver listed, and that driver is Dameware.
Something like this:
Where Count(tblVideoController.Caption) = 1 and tblVideocontroller.Caption like '%Dameware%'
Can you help ?
We have a few machines that only list one video controller, namely the Dameware MiniRemoteControl (virtual) driver . We now that they are using the Standard VGA driver, but for some reason it does not appear on the list.
What we've been trying to get working is a report that shows a list of machines which have only one display driver listed, and that driver is Dameware.
Something like this:
Where Count(tblVideoController.Caption) = 1 and tblVideocontroller.Caption like '%Dameware%'
Can you help ?
Solved! Go to Solution.
Labels:
- Labels:
-
Report Center
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2015 04:46 PM
In this case you'll need to add a separate subquery to your report which counts installed video controllers:
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblVideoController
On tblAssets.AssetID = tblVideoController.AssetID
Inner Join (Select Count(tblVideoController.Win32_VideoControllerid)
As [number video controllers],
tblVideoController.AssetID
From tblVideoController
Group By tblVideoController.AssetID) tCount On tCount.AssetID =
tblAssets.AssetID
Where tblAssetCustom.State = 1 And tCount.[number video controllers] = 1 And
tblVideoController.Caption Like '%dameware%'
Order By tblAssets.AssetName
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2015 12:19 AM
Thank you, that worked just fine.
I knew I had to use a subquery, but the correct syntax was eluding me...
I knew I had to use a subquery, but the correct syntax was eluding me...

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2015 04:46 PM
In this case you'll need to add a separate subquery to your report which counts installed video controllers:
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblVideoController
On tblAssets.AssetID = tblVideoController.AssetID
Inner Join (Select Count(tblVideoController.Win32_VideoControllerid)
As [number video controllers],
tblVideoController.AssetID
From tblVideoController
Group By tblVideoController.AssetID) tCount On tCount.AssetID =
tblAssets.AssetID
Where tblAssetCustom.State = 1 And tCount.[number video controllers] = 1 And
tblVideoController.Caption Like '%dameware%'
Order By tblAssets.AssetName
