StuRowcliffe
12-04-2009, 10:27 AM
Hi all,
I am very new to coding and am in the process of editing some default scripts provided by our software supplier. I am trying to use a html hyperlink to load an asp page with a variable appended to the url path. My attempts have produced the error in the title
My code is as follows -
<%
if (eWare.Authenticated)
{
var compid=Request.QueryString("comp_companyid");
var Now=new Date();
var record
if (Defined(compid))
{
record=eWare.FindRecord("company","comp_companyid="+compid);
}
%>
<a href="./companydetail.asp?comp_companyid=<%= record%>">Company Information</a>
<%
}
%>
Can anyone point out the error of my ways?
Thanks
I am very new to coding and am in the process of editing some default scripts provided by our software supplier. I am trying to use a html hyperlink to load an asp page with a variable appended to the url path. My attempts have produced the error in the title
My code is as follows -
<%
if (eWare.Authenticated)
{
var compid=Request.QueryString("comp_companyid");
var Now=new Date();
var record
if (Defined(compid))
{
record=eWare.FindRecord("company","comp_companyid="+compid);
}
%>
<a href="./companydetail.asp?comp_companyid=<%= record%>">Company Information</a>
<%
}
%>
Can anyone point out the error of my ways?
Thanks