I'm generating a report to display an Optiplex 9020's serial number and the DELL P2214H monitor's serial of the attached monitor. The problem is that sites using a Displaylink connector show up as 2 monitors in the report (and two generic monitors in device manager). This causes two lines with the same information to appear in my report. All VGA sites are displayed on one line. I would like only one monitor displayed from each site. Any thoughts?
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssetCustom.Location,
tblMonitor.MonitorModel As [Monitor Model],
tblMonitor.SerialNumber As [Monitor Serial],
tblAssetCustom.Custom11 As [Win7 Migration Date],
tblMonitor.MonitorID
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblMonitor On tblAssets.AssetID = tblMonitor.AssetID
Where tblMonitor.MonitorModel = 'DELL P2214H' And tblAssetCustom.Model =
'OptiPlex 9020'
Order By tblAssets.AssetName