Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2009 01:05 AM
I have a report as follows:
Works great. My manager would like to turn the IdentifyingNumber into a support link like the action page of the web site, any way to do easily that?
Select tblComputerSystemProduct.Name, tblComputers.Computername, tblComputers.Lastseen, tblComputers.Username, tblComputerSystemProduct.IdentifyingNumber From tblComputers Inner Join tblComputerSystemProduct On (tblComputers.Computername = tblComputerSystemProduct.Computername) Where tblComputerSystemProduct.Name = 'OptiPlex 745'
Works great. My manager would like to turn the IdentifyingNumber into a support link like the action page of the web site, any way to do easily that?
Labels:
- Labels:
-
Report Center
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2009 06:16 PM
Try this :
Select tblComputerSystemProduct.Name, tblComputers.Computername, tblComputers.Lastseen, tblComputers.Username, <a href="http://support.dell.com/support/topics/global.aspx/support/my_systems_info/details?ServiceTag=' + tblComputerSystemProduct.IdentifyingNumber + '">Support link</a>' as link From tblComputers Inner Join tblComputerSystemProduct On (tblComputers.Computername = tblComputerSystemProduct.Computername) Where tblComputerSystemProduct.Name = 'OptiPlex 745'
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2009 06:06 PM
Sorry, I must be doing something wrong.
Select tblComputerSystemProduct.Name, tblComputers.Computername, tblComputers.Lastseen, tblComputers.Username, <a href="http://support.dell.com/support/topics/global.aspx/support/my_systems_info/details?ServiceTag=' + tblComputerSystemProduct.IdentifyingNumber + '">Support link</a> From tblComputers Inner Join tblComputerSystemProduct On (tblComputers.Computername = tblComputerSystemProduct.Computername) Where tblComputerSystemProduct.Name = 'OptiPlex 745'

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2009 12:31 PM
You can inject the sql directly into the query:
... ,'<a href="http://somesite.html?id=' + tblComputerSystemProduct.IdentifyingNumber + '">linktext</a>' as link from ....
... ,'<a href="http://somesite.html?id=' + tblComputerSystemProduct.IdentifyingNumber + '">linktext</a>' as link from ....
