
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2017 04:38 PM
What I am trying to do is create a report that shows all tickets that have attachments added to the ticket.
The ability to differentiate between file types would be a plus but is not required.
Can anyone help or guide me on this?
Wayne
The ability to differentiate between file types would be a plus but is not required.
Can anyone help or guide me on this?
Wayne
Solved! Go to Solution.
Labels:
- Labels:
-
Report Center
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 01:02 PM
Instructions for adding this report to your Lansweeper installation can be found here. If you are interested in building or modifying reports, we do recommend:
- Reviewing some SQL tutorials, as the Lansweeper report builder is a standard SQL editor. If you know SQL, you know how to build Lansweeper reports as well. This seems like a good tutorial.
- Making use of our database dictionary, which explains in great detail what each database table and field stores. More information on the dictionary can be found here.
Select Top 1000000 htblticket.ticketid As ID,
htblticket.subject,
htblticket.date,
htblattachements.filename,
htblattachements.mediatype,
htblattachements.contentid
From htblticket
Inner Join htblnotes On htblticket.ticketid = htblnotes.ticketid
Inner Join htblattachements On htblnotes.noteid = htblattachements.noteid
Order By ID
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 02:41 PM
Many Many thanks for the assistance! I have been trying to learn the nuances of SQL report as time allows. I just haven't had that "click" of comprehension where it all makes sense. I'll keep plugging at it.
Again, many thanks for helping me with a quick resolution!
Wayne
Again, many thanks for helping me with a quick resolution!
Wayne

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 01:02 PM
Instructions for adding this report to your Lansweeper installation can be found here. If you are interested in building or modifying reports, we do recommend:
- Reviewing some SQL tutorials, as the Lansweeper report builder is a standard SQL editor. If you know SQL, you know how to build Lansweeper reports as well. This seems like a good tutorial.
- Making use of our database dictionary, which explains in great detail what each database table and field stores. More information on the dictionary can be found here.
Select Top 1000000 htblticket.ticketid As ID,
htblticket.subject,
htblticket.date,
htblattachements.filename,
htblattachements.mediatype,
htblattachements.contentid
From htblticket
Inner Join htblnotes On htblticket.ticketid = htblnotes.ticketid
Inner Join htblattachements On htblnotes.noteid = htblattachements.noteid
Order By ID
