harrington
Posts: 4 Joined: 12/10/2004 Status: offline
|
a hyperlink in the database result - 12/10/2004 12:56:55
Hello, I have been looking and searching at previous posts, and trying many things, but I really do not understand this. Hope somebody can help. I have the database results, but I want to convert one of the fields (the website field) into a link. This is the code for that specific field without any links: <!--webbot bot="DatabaseResultColumn" s-columnnames="ID,DateModified,LoanType,Rate,Points,APR,Company,Website,Phone,Email,Password" s-column="Website" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Website<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Website")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="13439" --> The problem is, instead of just leaving my site and going directly to the link address, it goes into error because it goes into: my url address/url of the link where I want it to go. If I double click on the field, I get a "Database column value" and if I choose "Display as hyperlink, this is the code: <!--webbot bot="DatabaseResultColumn" s-columnnames="ID,DateModified,LoanType,Rate,Points,APR,Company,Website,Phone,Email,Password" s-column="Website" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="TRUE" clientside b-MenuFormat preview="<font size="-1"><<</font><a href=".">Website</a><font size="-1">>></font>" startspan --><%="<a href=""" & FP_FieldLink(fp_rs,"Website") & """>" & FP_FieldVal(fp_rs,"Website") & "</a>"%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="16432" --> Something else I tried: I remove the previous code (2nd), and I right clicked on the field, inserted a hyperlink and add the parameter, this is the code: <!--webbot bot="DatabaseResultColumn" s-columnnames="ID,DateModified,LoanType,Rate,Points,APR,Company,Website,Phone,Email,Password" s-column="Website" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Website<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Website")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="13439" --> both ways still go to my url and writes the link after my url going into error. I read previous posts on changing & FP_FieldURL into & FP_FieldValue, and I also read posts on Redirect.Write, but I guess I am not writing in the correct place. If somebody can help, I appreciate it. Thanks!
|