Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AndyB
Engaged Sweeper
Hi,

I've searched the forums and haven't found and answer so I'll give posting a go. I've set up a report which I hoped to show the comments from each server, even when blank. The report runs and shows only the servers that have the comment field populated.

I have a feeling that tblAssetCustom.State is where I need to make the change, anything other than "1" causes the report to fail or returns no results.

the report code is below:

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssetComments.Comment,
tblAssetComments.AddedBy,
tblAssetComments.Added
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetComments On tblAssets.AssetID = tblAssetComments.AssetID
Where tblAssetCustom.State = 1


Thanks for your help,

-Andy
1 REPLY 1
Hemoco
Lansweeper Alumni
You report looks ok.

With "blank comments" do you mean "no comments" or "comments without any text"?

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now