cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Dov
Engaged Sweeper III
Would love to see the search function pull up / search information in the custom field's comments section; we use the comments extensively and would love to have the ability to search all devices for certain words typed in the comments.
1 ACCEPTED SOLUTION
pjbate
Engaged Sweeper III
HI, I worked on this report SQL to list all comments that have not been added by the Lansweeper service.

Enjoy

Peter

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblAssetComments.Comment,
tblAssetComments.AddedBy,
tblAssetComments.Added
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Right Join tblAssetComments On tblAssetComments.AssetID = tblAssets.AssetID
Where tblAssetComments.AddedBy <> 'Lansweeper'

View solution in original post

3 REPLIES 3
Susan_A
Lansweeper Alumni
FYI: you can filter pjbate's report within the report results to perform a "search".
pjbate
Engaged Sweeper III
HI, I worked on this report SQL to list all comments that have not been added by the Lansweeper service.

Enjoy

Peter

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblAssetComments.Comment,
tblAssetComments.AddedBy,
tblAssetComments.Added
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Right Join tblAssetComments On tblAssetComments.AssetID = tblAssets.AssetID
Where tblAssetComments.AddedBy <> 'Lansweeper'
Hemoco
Lansweeper Alumni
This is not currently on our to do list. The custom fields themselves are searchable though.