|
Smokeeater9999 -> RE: Need image w/hyperlink from ACCESS (1/22/2005 20:48:40)
|
Here is the code. I put some spaces in this code to show where the link is, and the second line is the image I inserted in the database results area. On the image, I assigned the appropriate paramerter (MapLink) to the image. fp_sQry="SELECT * FROM qryDepartmentListWeb WHERE (Alpha = '::Alpha::') ORDER BY DepartmentName ASC" fp_sDefault="Alpha=" fp_sNoRecords="Please select from the Drop-Down Search Box" fp_sDataConn="IVFA_Dept" fp_iMaxRecords=0 fp_iCommandType=1 fp_iPageSize=0 fp_fTableFormat=False fp_fMenuFormat=False fp_sMenuChoice="DepartmentName" fp_sMenuValue="DepartmentName" fp_sColTypes="&RecordID=3&DepartmentName=202&Address=202&Hidden Address=202&City=202&Zip=5&District=202&County=202&Contact=202&ContactPosition=202&ContactPhone=202&Email=202&WebLink=203&MapLink=203&WebList=11&Alpha=202&" fp_iDisplayCols=13 fp_fCustomQuery=False BOTID=0 fp_iRegion=BOTID %> <!--#include file="_fpclass/fpdbrgn1.inc"--> <!--webbot bot="DatabaseRegionStart" endspan i-checksum="48792" --><p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9px"> <span style="font-size: 9pt; font-weight: 700"> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="DepartmentName" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>DepartmentName<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"DepartmentName")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="42651" --></span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt; font-weight: 700"> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="Address" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Address<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Address")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="12103" --></span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt"><b> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="City" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>City<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"City")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="4267" --></b>, <b> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="Zip" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Zip<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Zip")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="3973" --></b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt"><b> <!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="County" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>County<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"County")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="15566" --> County</b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"> </p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt"><font color="#800000">District:</font> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="District" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>District<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"District")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="15457" --></b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana"> <span style="font-size: 9pt"><font color="#800000">Contact:</font> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="Contact" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Contact<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Contact")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="13525" --></b>;</span></font><font face="Verdana" style="font-size: 9px"><span style="font-size: 9pt"> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="ContactPosition" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>ContactPosition<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"ContactPosition")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="41314" --></b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt" color="#800000">Phone</font><font face="Verdana" style="font-size: 9px"><span style="font-size: 9pt"><font color="#800000">:</font> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="ContactPhone" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>ContactPhone<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"ContactPhone")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="31791" --></b> </span></font><font face="Verdana"><span style="font-size: 9pt"> <font color="#800000">Email:</font> <b><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="Email" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Email<font size="-1">>></font>" s-ColumnTypes="3,202,202,202,202,5,202,202,202,202,202,202,203,203,11,202" startspan --><%=FP_FieldVal(fp_rs,"Email")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="8328" --> </b></span></font></p> <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt" color="#800000">Map Link</font><font face="Verdana" style="font-size: 9px"><span style="font-size: 9pt"><font color="#800000">:</font> <a href="'<%=FP_FieldLink(fp_rs,"MapLink")%>'"> <img border="0" src="images/New%20&%20Updates/Test.jpg" width="42" height="12"></a></span></font></p>[/color]<p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt" color="#800000">Web Link</font><font face="Verdana" style="font-size: 9px"><span style="font-size: 9pt"><font color="#800000">: </font><!--webbot bot="DatabaseResultColumn" s-columnnames="RecordID,DepartmentName,Address,Hidden Address,City,Zip,District,County,Contact,ContactPosition,ContactPhone,Email,WebLink,MapLink,WebList,Alpha" s-column="WebLink" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="TRUE" clientside b-MenuFormat preview="<font size="-1"><<</font><a href=".">WebLink</a><font size="-1">>></font>" s-ColumnTypes="3,202,202,202,202,5,202,202,202,202,202,202,203,203,11,202" startspan --><%="<a href=""" & FP_FieldLink(fp_rs,"WebLink") & """>" & FP_FieldVal(fp_rs,"WebLink") & "</a>"%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="16387" --></span></font></p> <p style="margin-top: 0; margin-bottom: 0"> </p> <hr> <p style="margin-top: 0; margin-bottom: 0"> </p> <!--webbot bot="DatabaseRegionEnd" b-tableformat="FALSE" b-menuformat="FALSE" u-dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0" clientside tag="BODY" preview="<table border=0 width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the end of a Database Results region.</font></td></tr></table>" startspan --><!--#include file="_fpclass/fpdbrgn2.inc"--> <!--webbot bot="DatabaseRegionEnd" endspan i-checksum="62730" --></body></html>
|
|
|
|