I tried to duplicate the sql report in some of the posts, but Lansweeper is coming up with no machines. Originally I had just the executable name in the path gdc.exe, but it came up with far more machines than actually have the software. So I changed it to the whole pathe and now nothing. Any advice?
CREATE VIEW dbo.web30repMunis
AS
SELECT TOP 100 PERCENT dbo.tblComputers.Computername AS Computer, dbo.tblOperatingsystem.Description, dbo.tblFileVersions.FileVersion, dbo.tblFileVersions.FileDescription, dbo.tblFileVersions.Filesize, dbo.tblFileVersions.Lastchanged
FROM dbo.tblComputers INNER JOIN
dbo.tblOperatingsystem ON dbo.tblComputers.Computername = dbo.tblOperatingsystem.Computername LEFT OUTER JOIN
dbo.tblFileVersions ON dbo.tblComputers.Computername = dbo.tblFileVersions.Computername
WHERE (dbo.tblFileVersions.FilePathfull LIKE '%programfiles%\FourJs\gdc\bin\gdc.exe')
ORDER BY dbo.tblComputers.Computername
GO
INSERT INTO dbo.TsysFiles
(Searchfile, Enabled)
VALUES ('%programfiles%\FourJs\gdc\bin\gdc.exe', 1)
'Add the view to the reports table
INSERT INTO [tsysreports] ([Reportquery],[Reporttitle]) VALUES ('web30repMunis','Munis Client Install')
GO