Answered
Inventory number (Environment Variable) doesn't show
martin.johne
Hi,
on all our computer is the inventory number set in the enviroment variable. The syntax for the inventory number is like "06/22222"
I try to create a report about sql but is still empty.
select
Computers.Name as "Computer Name",
Computers.Description, EnvironmentVariables.Value as "Inventarnummer" from Computers,EnvironmentVariables
where computers.computerid = environmentvariables.computerid and EnvironmentVariables.Name like "Inventarnummer"
I think the Report has problem with the character "/".
I try also an other enviroments. This stilll works.
can you confirm this?
Kind Regards Martin
0
Comments
Hi Martin,
have you tried a simple report instead of a SQL report to get your result?
It's a very simple report, to simple for complex SQL strings 😉
~Chris
Thanks 😃 This works, but that was the first step. My problem is we have 3 Environment Variables. Current we get the result rows like:
but i need a tabel form
my idea was a inner join.
Or is there a trick for this problem.
Kind Regards Martin
I think you'll have to do a pivot like this:
Jeah. Many Thanks. Looks awesome.