Hello!
I currently have a custom table that returns different values polled via SNMP. Basically, I'm asking an application who host it. Values returned are the same as caption of another monitored node. (Think of it as if you were asking a VM who's the active and standby host).

Polled Node it the node where the UnDP result is coming from, and Active_Host & Standby_host are text values returned from polls.
I would like to enable link to the page of the active_host and standby_host.
My data source is defined this way:
SELECT N.NodeID, '<img src="'+'/Orion/Images/StatusIcons/'+N.StatusLED+'" width="16" height="16">' as Status, '/Orion/NetPerfMon/NodeDetails.aspx?NetObject=N:'+CAST(N.NodeID as varchar(256)) as 'DetailsURL' , N.Caption as 'Polled Node', N.System, N.SysName, Active_Host = ( SELECT TOP 1 CPSD.Status FROM CustomPollerAssignment CPA INNER JOIN CustomPollers CP ON CPA.CustomPollerID = CP.CustomPollerID AND CP.UniqueName = 'eadsP25ActiveHostName' INNER JOIN CustomPollerStatistics_Detail CPSD ON CPA.CustomPollerAssignmentID = CPSD.CustomPollerAssignmentID WHERE CPA.NodeID = N.NodeID ORDER BY CPSD.DATETIME DESC ), Standby_Host = ( SELECT TOP 1 CPSD.Status FROM CustomPollerAssignment CPA INNER JOIN CustomPollers CP ON CPA.CustomPollerID = CP.CustomPollerID AND CP.UniqueName = 'eadsP25StandByHostName' INNER JOIN CustomPollerStatistics_Detail CPSD ON CPA.CustomPollerAssignmentID = CPSD.CustomPollerAssignmentID WHERE CPA.NodeID = N.NodeID ORDER BY CPSD.DATETIME DESC )FROM Nodes NWHERE NodeID IN ( SELECT NodeID FROM CustomPollerAssignment CPA INNER JOIN CustomPollers CP ON CPA.CustomPollerID = CP.CustomPollerID AND CP.UniqueName IN ( 'eadsP25ActiveHostName', 'eadsP25StandByHostName') AND N.System = 'XXXXX')ORDER BY N.Caption ASC
How could I approach the issue and provide the links (and ideally the tooltips) in the active_host & standby_host column?