We’re currently experiencing a high volume of support requests, which may result in longer response times — Thank you for your patience and understanding.
Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jmccourt
Engaged Sweeper
Hello,
We just purchased the premium version of lansweeper and so far things are working pretty good. The first question I have it when using the report generator tool I can pull information out of one table and add it to my dashboard without any issues. The issue I'm having is when I try to pull fields out of several different tables the data is incorrect. Is this something I should be able to do? Thanks in advice for any help.
8 REPLIES 8
Hemoco
Lansweeper Alumni
Just dragging a line between the "computername" should do the trick.
Are you sure that the tables are filled with data?
jmccourt
Engaged Sweeper
When I link the tables by just dragging a line between the two of them in the builder, the results don't show any data.
Do I need to actually write the SQL code?
Are there any instructions on properly linking the tables?
Hemoco
Lansweeper Alumni
I don't know the exact data you want but this is a good example on how to link the tables.
jmccourt
Engaged Sweeper
When I copy and paste the copy you've supplied and run the query, I get "no results displayed"
jmccourt
Engaged Sweeper
Can this be done on the builder tab so the SQL code with be system generated?
Hemoco
Lansweeper Alumni
You need to link your table to table tblcomputer

SELECT     dbo.tblComputers.Computername, dbo.tblComputersystem.Manufacturer, dbo.tblComputersystem.Model, dbo.tblADComputers.Description
FROM dbo.tblComputers INNER JOIN
dbo.tblComputersystem ON dbo.tblComputers.Computername = dbo.tblComputersystem.Computername INNER JOIN
dbo.tblADComputers ON dbo.tblComputers.Computername = dbo.tblADComputers.Computername
jmccourt
Engaged Sweeper
I had a feeling that should work without a problem. I'm sure I'm doing something wrong, I'm also not too familiar with SQL code so all I've done is selected the two tables that have the info I want in them and then checked the boxes for the fields I want. Do I need to link the tables together or something?

The SQL code it generated is:
SELECT
tblComputersystem.Manufacturer,
tblComputersystem.Model,
tblADComputers.Description,
tblADComputers.Computername
FROM
tblADComputers,
tblComputersystem

Thanks for your help!
Hemoco
Lansweeper Alumni
You should be able to do that without any problems, could you give the sql code to the query you are trying to accomplish please.

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