Honestly I pulled a blonde moment with the Subject line... What I need/want is a hyperlink which is built depending on the quote that I am currently under... For instance I have [quot_description] = '379' I need in to build a hyperlink based on the following Select Statement
SQL
{
SELECT B.[oppo_description], B.[oppo_prjctname]
FROM [Solar_CRM].[dbo].[Quotes] A
JOIN [Solar_CRM].[dbo].[Opportunity] B
ON A.[quot_opportunityid] = B.[oppo_opportunityid]
WHERE A.[quot_description] = '379'(grabbed from currently viewed quote)
}
B.[oppo_description] = '17-09-254'
B.[oppo_prjctname] = 'Test Project'
hyperlink = "//servername/Job Project Folders/2017/17-09-254 Test Project/
The 2017 in the hyperlink is derived from the [Oppo_Description] "20" + Left(B.[oppo_description], 2)
My problem is I am not all that fluent with Javascript, but I need the hyperlink to be able to be a client side script that is built on the fly based on the quote they are currently viewing... This is big for me and any help would be highly appreciated...