Hi there,
Many thanks for your conclusive reply, very informative. What i currently
have for example are 2 .asp pages, one will have an auto thumbnail displayed,
and with which upon i have created a hyperlink that will take me to the
second page. Within that hyperlink i created a Parameter which i hope will be
passed to the second page, and then placed within my sql query to display all
the relevant info for that parameter when it finds its matching primary key
record within the db.
Here is the code i currently have for the 1st Page with the thumbnail and
hyperlink:
<a href="ProdInfo.asp?ProdQuery=MC0001">
<img border="2" src="images/Moorcroft/MC0001_small.jpg"
xthumbnail-orig-image="images/Moorcroft/MC0001.jpg" width="68" height="154"
onclick="FP_openNewWindow('500', '600', false, false, false, false, false,
false, 'ProductInformation', /*href*/'ProdInfo.htm')"></a></td>
<td width="117" bgcolor="#66FFFF" height="162">
And here is the code that was created for the db results page, based upon
which parameter is passed to it. Just not completely sure that its dealing
with the 'ProdQuery' param properly.
<SCRIPT Language="JavaScript">
document.write("<div style='background: yellow; color: black;'>The Database
Results component on this page is unable to display database content. The
page must have a filename ending in '.asp', and the web must be hosted on a
server that supports Active Server Pages.</div>");
</SCRIPT>
<% end if %>
<%
fp_sQry="SELECT * FROM Moorcroft where devcode =':

rodQuery::'"
fp_sDefault="ProdQuery="
fp_sNoRecords="No records returned."
fp_sDataConn="ItemMatrix"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_sColTypes="&Dev Code=202&UKC Code=202&Vase
Type=202&Designer=202&Pattern=202&Full
Description=202&Date=2&Price=6&Height=202&"
fp_iDisplayCols=7
fp_fCustomQuery=True
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="60637" --><p><b>UKC
Code:</b> <!--webbot bot="DatabaseResultColumn" s-columnnames="Dev
Code,UKC Code,Vase Type,Designer,Pattern,Full Description,Date,Price,Height"
s-column="UKC Code" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1"><<</font>UKC Code<font size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"UKC Code")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="11885" --></p>
<p><b>Vase Type:</b> <!--webbot bot="DatabaseResultColumn"
s-columnnames="Dev Code,UKC Code,Vase Type,Designer,Pattern,Full
Description,Date,Price,Height" s-column="Vase Type" b-tableformat="FALSE"
b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1"><<</font>Vase Type<font size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Vase Type")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="18877" --></p>
<p><b>Designer:</b> <!--webbot bot="DatabaseResultColumn" s-columnnames="Dev
Code,UKC Code,Vase Type,Designer,Pattern,Full Description,Date,Price,Height"
s-column="Designer" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1"><<</font>Designer<font size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Designer")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14887" --></p>
<p><b>Full Description:</b> <!--webbot bot="DatabaseResultColumn"
s-columnnames="Dev Code,UKC Code,Vase Type,Designer,Pattern,Full
Description,Date,Price,Height" s-column="Full Description"
b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="<font size="-1"><<</font>Full Description<font
size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Full
Description")%><!--webbot bot="DatabaseResultColumn" endspan
i-checksum="44331" --></p>
<p><b>Date:</b> <!--webbot bot="DatabaseResultColumn" s-columnnames="Dev
Code,UKC Code,Vase Type,Designer,Pattern,Full Description,Date,Price,Height"
s-column="Date" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Date<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Date")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3267" --></p>
<p><b>Price:</b> <!--webbot bot="DatabaseResultColumn" s-columnnames="Dev
Code,UKC Code,Vase Type,Designer,Pattern,Full Description,Date,Price,Height"
s-column="Price" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Price<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Price")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9640" --></p>
<p><b>Height:</b> <!--webbot bot="DatabaseResultColumn" s-columnnames="Dev
Code,UKC Code,Vase Type,Designer,Pattern,Full Description,Date,Price,Height"
s-column="Height" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Height<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Height")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14492" --></p>
<hr>
<!--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" --> </div>
</body>
</html>