ASP problem: Microsoft VBScript runtime error '800a000d'

G

Guest

Hi,

I am using FP2003 and Access2000 as my backend database. I am publishing to
a shared hosted site at the ISP with FP extensions and ASP enabled.

When I run a DRW, I get the following error:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'FP_FieldVal'

/stocktest.asp, line 248

I have checked everything - and I still cannot figure out the problem. The
above problem was just running a DRW with no WHERE clause - i.e. just listing
a table's contents in DRW.

Can someone help?

skc
 
S

Steven Banks

I had this problem a few nights ago. My problem differed due to the
application (running Snitz Forum software):

Microsoft VBScript runtime error '800a000d'
Type mismatch: "GetCurrentIcon"
forum/inc_header.asp, line 235

When I went to inspect the document, nothing on that line should have
affected anything at all. While this is different in the applications, my
solution may work for you. I downloaded the applications zip file again and
replaced all of the ASP files with the new stock files from the zip file.
Making sure I did not replace my config.asp file and one other file.

So give this a try... hopefully it will work for you. Try replacing just the
"stocktest.asp" file first. If that doesn't work replace the other asp files
also.

Steve Banks
 
K

Kevin Spencer

This can happen when a field contains a null value in it, and the
application tries to treat it like a string, number, or whatever type of
data is supposed to be in that field. Try disallowing nulls in the database.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
G

Guest

i have checked everything (I have made around 15 sites using FP2000 and drw)
and I cannot get this FP2003 site working. help!
 
K

Kevin Spencer

Same error? Or just joy?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
M

MikeR

How is this field defined in the database? All the attributes please. Can you post the
query that errors?
MikeR
 
G

Guest

Here is the code for that page called stocktest.asp:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Italian handcraft high heels stiletto shoes: pumps sandals slippers
mules platforms boots Italian ladies and men's shoes online.</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image;
d.FP_imgs.src=a; }
}

function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
el; } }
return null;
}
// -->
</script>
<% ' FP_ASP -- ASP Automatically generated by a FrontPage Component. Do not
Edit.
FP_CharSet = "windows-1252"
FP_CodePage = 1252 %>
</head>
<body
onload="FP_preloadImgs(/*url*/'images/button4.jpg',/*url*/'images/button5.jpg',/*url*/'images/buttonE.jpg',/*url*/'images/buttonF1.jpg',/*url*/'images/button12.jpg',/*url*/'images/button13.jpg',/*url*/'images/button14.jpg',/*url*/'images/button20.jpg',/*url*/'images/button24.jpg',/*url*/'images/button25.jpg',/*url*/'images/button1A1.jpg',/*url*/'images/button1B1.jpg',/*url*/'images/button1D1.jpg',/*url*/'images/button1E.jpg',/*url*/'images/button29.jpg',/*url*/'images/button30.jpg',/*url*/'images/button31.jpg',/*url*/'images/button32.jpg',/*url*/'images/button33.jpg',/*url*/'images/button34.jpg',/*url*/'images/button3E.jpg',/*url*/'images/button3F1.jpg',/*url*/'images/button42.jpg',/*url*/'images/button43.jpg',/*url*/'images/button51.jpg',/*url*/'images/button52.jpg',/*url*/'images/button4A1.jpg',/*url*/'images/button4B1.jpg',/*url*/'images/button4D1.jpg',/*url*/'images/button4E1.jpg',/*url*/'images/button53.jpg',/*url*/'images/button54.jpg')">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="770" id="AutoNumber1" height="39">
<tr>
<td width="10"> </td>
<td width="176" rowspan="2">
<p align="left">
<a href="index.htm">
<img border="0" src="images/logo_head_new.gif" width="176"
height="48"></a></td>
<td width="585" bgcolor="#84A52D" colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<img border="0" id="img1" src="images/button6.jpg" height="20" width="100"
alt="Sandals" fp-style="fp-btn: Simple Circle 2; fp-font-color-normal:
#FFFFFF; fp-bgcolor: #84A52D" fp-title="Sandals"
onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button4.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button6.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button5.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button4.jpg')"></td>
<td>
<img border="0" id="img2" src="images/buttonD.jpg" height="20" width="100"
alt="Mules"
onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/buttonE.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/buttonD.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/buttonF1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/buttonE.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Mules"></td>
<td>
<img border="0" id="img3" src="images/button26.jpg" height="20"
width="100" alt="Pumps"
onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/button12.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/button26.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/button13.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/button12.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Pumps"></td>
<td>
<img border="0" id="img4" src="images/button27.jpg" height="20"
width="100" alt="Boots"
onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button14.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button27.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button20.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button14.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Boots"></td>
<td>
<img border="0" id="img5" src="images/button28.jpg" height="20"
width="100" alt="Platforms"
onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button24.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button28.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button25.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button24.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Platforms"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="5"> </td>
<td width="55">
</td>
<td width="520"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tr valign="top">
<td width="182" align="right"> <table border="0" cellpadding="1"
cellspacing="0" width="170" bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<p align="center"><b> </b><marquee style="font-style: oblique">Italian
footwear online. Choose from a variety of styles. We now exhibit at your
place of work. Contact us for more details.</marquee></td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<!-- MSTableType="nolayout" -->
<tr><td style="padding:1px;">
<table border="0" width="100%" cellspacing="3" cellpadding="0">
<td>
<img src="images/title_search.gif" alt="" border="0" vspace="1" width="57"
height="12"></td>
</table>
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">
<!--webbot bot="SaveResults" U-File="_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan --><input TYPE="hidden"
NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374"
endspan -->

<input type="Text" class="text" style="width:114px;" value="keyword"
size="20" name="T1"><input type="submit" value="go" name="B1"></form>
</td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<img src="images/title_browsecategory.gif" alt="" border="0" vspace="5"
width="138" height="12"></td></tr>
<tr>
<td width="155">
<img border="0" id="img6" src="images/button35.jpg" height="20" width="100"
alt=" Sandals" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#636563; fp-justify-horiz: 0" fp-title=" Sandals"
onmouseover="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/button1A1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/button35.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/button1B1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/button1A1.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img7" src="images/button1C1.jpg" height="20" width="100"
alt=" Mules" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Mules"
onmouseover="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button1D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button1C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button1E.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button1D1.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img8" src="images/button1F.jpg" height="20" width="100"
alt=" Pumps" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Pumps"
onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button29.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button1F.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button30.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button29.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img9" src="images/button36.jpg" height="20" width="100"
alt=" Boots" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Boots"
onmouseover="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button31.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button36.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button32.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button31.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img10" src="images/button37.jpg" height="20" width="100"
alt=" Platforms" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Platforms"
onmouseover="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button33.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button37.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button34.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button33.jpg')"></td>
</tr>
<tr><td>
<img src="images/clear.gif" width="1" height="5" alt=""
border="0"></td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<img src="images/title_browsedepartment.gif" alt="" border="0" vspace="5"
width="156" height="12"></td></tr>
<tr>
<td width="170" align="right">
<p align="left">
<img border="0" id="img11" src="images/button3D.jpg" height="20" width="100"
alt=" Womens"
onmouseover="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button3E.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button3D.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button3F1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button3E.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Womens"></td>
</tr>
<tr>
<td>
<img border="0" id="img12" src="images/button44.jpg" height="20" width="100"
alt=" Mens" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Mens"
onmouseover="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button42.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button44.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button43.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button42.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img13" src="images/button55.jpg" height="20" width="100"
alt=" Miscellaneous"
onmouseover="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button51.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button55.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button52.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button51.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Miscellaneous"></td>
</tr>
<tr>
<td>
<img border="0" id="img14" src="images/button56.jpg" height="20" width="100"
alt=" Promotion"
onmouseover="FP_swapImg(1,0,/*id*/'img14',/*url*/'images/button4A1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img14',/*url*/'images/button56.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img14',/*url*/'images/button4B1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img14',/*url*/'images/button4A1.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Promotion"></td>
</tr>
<tr>
<td>
<img border="0" id="img15" src="images/button4C1.jpg" height="20"
width="100" alt=" Clearance"
onmouseover="FP_swapImg(1,0,/*id*/'img15',/*url*/'images/button4D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img15',/*url*/'images/button4C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img15',/*url*/'images/button4E1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img15',/*url*/'images/button4D1.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Clearance"></td>
</tr>
<tr>
<td>
<img border="0" id="img16" src="images/button4F1.jpg" height="20"
width="100" alt=" Contact us"
onmouseover="FP_swapImg(1,0,/*id*/'img16',/*url*/'images/button53.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img16',/*url*/'images/button4F1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img16',/*url*/'images/button54.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img16',/*url*/'images/button53.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Contact us"></td>
</tr>
<tr><td height="7">
<img src="images/clear.gif" width="1" height="5" alt=""
border="0"></td></tr>
</table>
</td></tr></table>
</td>
<td width="588" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="550">
<tr valign="top">
<td width="550">
<p align="left">
<table border="0" cellspacing="0" width="100%" bgcolor="#EC7A24"><tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<!--webbot bot="DatabaseRegionStart"
s-columnnames="WomensTypeID,Header,Text,Category_picture"
s-columntypes="3,202,203,202" s-dataconnection="Database2"
b-tableformat="FALSE" b-menuformat="FALSE" s-menuchoice="Header"
s-menuvalue="Header" b-tableborder="TRUE" b-tableexpand="TRUE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE"
i-listformat="5" b-makeform="FALSE" s-recordsource="Category"
s-displaycolumns="Header,Text" s-criteria="[Header] EQ {category} +" s-order
s-sql="SELECT * FROM Category WHERE (Header = '::category::')"
b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields="category="
s-norecordsfound="No records returned." i-maxrecords="0" i-groupsize="0"
botid="1" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the
start of a Database Results region. The page must be fetched from a web
server with a web browser to display correctly; the current web is stored on
your local disk or network.</font></td></tr></table>" startspan
b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202" b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="FALSE"
b-ReplaceDatabaseRegion="FALSE" --><!--#include file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<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 Category WHERE (Header = '::category::')"
fp_sDefault="category="
fp_sNoRecords="No records returned."
fp_sDataConn="Database2"
fp_iMaxRecords=0
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="Header"
fp_sMenuValue="Header"
fp_sColTypes="&WomensTypeID=3&Header=202&Text=203&Category_picture=202&"
fp_iDisplayCols=2
fp_fCustomQuery=False
BOTID=1
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="44457" --><table
BORDER="0" cellspacing="0" width="538">
<tr>
<td width="473"><font color="#000000"
size="5"><%'=FP_FieldVal(fp_rs,"Header")%></td>
<td width="0" rowspan="2"><td width="9%" valign="top" rowspan="2">
<img border="0" src="images/<%'=FP_FieldVal(fp_rs,"Category_picture")%>"
align="right"></td>
</tr>
<tr>
<td width="473"><font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="WomensTypeID,Header,Text,Category_picture" s-column="Text"
b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="&lt;font size="-1">&lt;&lt;</font>Text<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Text")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="4837" --></font></td>
</td>
</tr>
</table>
<!--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" --></td></tr>
</table>
</td></tr></table>
</td>
</tr>
</table>

<table border="0" cellpadding="2" width="550" bordercolorlight="#EC7A24"
style="border-collapse: collapse; border: 1px solid #EF7921">
<tr>
<td align="center">
<!--webbot bot="DatabaseRegionStart"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-columntypes="3,202,202,202,202,202,203,202,202,202,202"
s-dataconnection="Database1" b-tableformat="FALSE" b-menuformat="FALSE"
s-menuchoice="StockID" s-menuvalue="StockID" b-tableborder="TRUE"
b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE"
b-listseparator="TRUE" i-listformat="5" b-makeform="FALSE"
s-recordsource="Stock"
s-displaycolumns="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability"
s-criteria="[Category] EQ {Category} +" s-order="[Price] -" s-sql="SELECT *
FROM Stock WHERE (Category = '::Category::') ORDER BY Price DESC"
b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields="Category="
s-norecordsfound="No records returned." i-maxrecords="10" i-groupsize="0"
botid="0" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the
start of a Database Results region. The page must be fetched from a web
server with a web browser to display correctly; the current web is stored on
your local disk or network.</font></td></tr></table>" startspan
b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202" b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="FALSE"
b-ReplaceDatabaseRegion="FALSE" --><!--#include file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<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 Stock WHERE (Category = '::Category::') ORDER BY
Price DESC"
fp_sDefault="Category="
fp_sNoRecords="No records returned."
fp_sDataConn="Database1"
fp_iMaxRecords=10
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="StockID"
fp_sMenuValue="StockID"
fp_sColTypes="&StockID=3&Gender=202&Category=202&Make=202&Model=202&Sizes=202&Desc=203&Price=202&Availability=202&small_pic=202&big_pic=202&"
fp_iDisplayCols=9
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="61827" --><table
BORDER="0" width="544" cellspacing="0">
<tr>
<td width="100"><font color="#000000" size="1"><b>StockID:</b></font></td>
<td width="292">
<font color="#000000" size="1">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="StockID" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="&lt;font
size="-1">&lt;&lt;</font>StockID<font size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"StockID")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14220" --></font></td>
<td width="146" rowspan="4" style="border: 0px solid #FFFFFF" colspan="2">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="small_pic" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>small_pic<font size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"small_pic")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="22161" --></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Gender:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Gender" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Gender<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Gender")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14399" --></font></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Make:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Make" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Make<font
size="-1">&gt;&gt;</font>" startspan
s-ColumnTypes="3,202,202,202,202,202,203,202,202"
--><%=FP_FieldVal(fp_rs,"Make")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3834" --></font></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Model:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Model" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Model<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Model")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9091" --></font></td>
</tr>
<tr>
<td width="100" rowspan="4" align="left" valign="top">
<font color="#000000"><b>Description:</b></font></td>
<td width="292" rowspan="4" align="left" valign="top">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Desc" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Desc<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Desc")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3774" --></font></td>
<td width="146" style="border: 0px solid #FFFFFF" colspan="2">
</td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921">
<p align="left"><b><font color="#84A52D">Sizes:</font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921">
<b><font color="#84A52D">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Sizes" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Sizes<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Sizes")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="8757" --></font></b></td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921">
<p align="left"><b><font color="#84A52D">Price:</font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921">
<b><font color="#84A52D">£<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Price" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Price<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Price")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9640" --></font></b></td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921" height="20">
<p align="left"><b><font color="#84A52D">Available: </font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921" height="20">
<b><font color="#84A52D">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Availability" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>Availability<font size="-1">&gt;&gt;</font>"
startspan --><%=FP_FieldVal(fp_rs,"Availability")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="32598" --></font></b></td>
</tr>
</table>
<hr color="#EC7A24" size="1">
<!--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" --></td>
</tr>
</table>
<table border="0" cellpadding="2" width="550" bordercolorlight="#EC7A24"
style="border-collapse: collapse; border: 1px solid #EF7921">
<tr>
<td align="center">
<p align="left"> </td>
</tr>
<tr>
<td align="center">
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tr><td bgcolor="#84A52D" class="footer" height="20"> © D Moss Shoes
2005. All Rights Reserved.
Website designed and hosted for D Moss Shoes by Motor Styling (Internet
Consultants)</td></tr>
</table>
<br>
</body>
</html>

My database connection is called Database2.

My Access database is called dmossshoes.mdb. There are x3 tables in the
database:

Category
Department
Stock

The table properties are as follows:

Category
- WomensTypeID, Autonumber, keyfield
- Header, Text
- Text, Memo
- Category_picture, Text

Department
- ID, Autonumber, keyfield
- Category, Text
- Text, memo

Stock
- StockID, Autonumber, keyfield
- Gender, Text
- Category, Text
- Make, Text
- Model, Text
- Sizes, Text
- Desc, Memo
- Price, Text
- Availability, Text
- small_pic, Text
- big_pic, Text

I hope this gives a good picture of the site. The above page (code) is
fetched from a hyperlink on index.htm (the homepage):
stocktest.asp?category=Sandals

Help please.

skc
 
K

Kevin Spencer

Hi Skc,

Sorry, I was off yestertday, so I wasn't able to get back to you early
enough. While I am an expert with ASP and database programming, my expertise
with FrontPage-generated code is somewhat limited (to say the least, as I
never use FP for database work). It looks like the FP_FieldVal function gets
a value from a database column in a given record, of that I'm relatively
sure. Now, as to the problem, I don't know which line in all the code you
posted threw the exception, as there are a half-dozen that use that
function. I was able to determine that some of your column names are
"reserved words" in Access, although I'm not sure which ones, as I'm not
familiar with ALL of the Access reserved words. But candidates would include
columns named:

"Text" (not sure about this one, depends on the dbms)
"Desc" (abbreviation for DESCENDING, as in order of records)

Try renaming those columns.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.


Skc said:
Here is the code for that page called stocktest.asp:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Italian handcraft high heels stiletto shoes: pumps sandals slippers
mules platforms boots Italian ladies and men's shoes online.</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image;
d.FP_imgs.src=a; }
}

function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return
el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes;
if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return
el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
el; } }
return null;
}
// -->
</script>
<% ' FP_ASP -- ASP Automatically generated by a FrontPage Component. Do
not
Edit.
FP_CharSet = "windows-1252"
FP_CodePage = 1252 %>
</head>
<body
onload="FP_preloadImgs(/*url*/'images/button4.jpg',/*url*/'images/button5.jpg',/*url*/'images/buttonE.jpg',/*url*/'images/buttonF1.jpg',/*url*/'images/button12.jpg',/*url*/'images/button13.jpg',/*url*/'images/button14.jpg',/*url*/'images/button20.jpg',/*url*/'images/button24.jpg',/*url*/'images/button25.jpg',/*url*/'images/button1A1.jpg',/*url*/'images/button1B1.jpg',/*url*/'images/button1D1.jpg',/*url*/'images/button1E.jpg',/*url*/'images/button29.jpg',/*url*/'images/button30.jpg',/*url*/'images/button31.jpg',/*url*/'images/button32.jpg',/*url*/'images/button33.jpg',/*url*/'images/button34.jpg',/*url*/'images/button3E.jpg',/*url*/'images/button3F1.jpg',/*url*/'images/button42.jpg',/*url*/'images/button43.jpg',/*url*/'images/button51.jpg',/*url*/'images/button52.jpg',/*url*/'images/button4A1.jpg',/*url*/'images/button4B1.jpg',/*url*/'images/button4D1.jpg',/*url*/'images/button4E1.jpg',/*url*/'images/button53.jpg',/*url*/'images/button54.jpg')">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="770" id="AutoNumber1" height="39">
<tr>
<td width="10"> </td>
<td width="176" rowspan="2">
<p align="left">
<a href="index.htm">
<img border="0" src="images/logo_head_new.gif" width="176"
height="48"></a></td>
<td width="585" bgcolor="#84A52D" colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<img border="0" id="img1" src="images/button6.jpg" height="20" width="100"
alt="Sandals" fp-style="fp-btn: Simple Circle 2; fp-font-color-normal:
#FFFFFF; fp-bgcolor: #84A52D" fp-title="Sandals"
onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button4.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button6.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button5.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button4.jpg')"></td>
<td>
<img border="0" id="img2" src="images/buttonD.jpg" height="20" width="100"
alt="Mules"
onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/buttonE.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/buttonD.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/buttonF1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/buttonE.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF;
fp-bgcolor:
#84A52D" fp-title="Mules"></td>
<td>
<img border="0" id="img3" src="images/button26.jpg" height="20"
width="100" alt="Pumps"
onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/button12.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/button26.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/button13.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/button12.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF;
fp-bgcolor:
#84A52D" fp-title="Pumps"></td>
<td>
<img border="0" id="img4" src="images/button27.jpg" height="20"
width="100" alt="Boots"
onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button14.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button27.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button20.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button14.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF;
fp-bgcolor:
#84A52D" fp-title="Boots"></td>
<td>
<img border="0" id="img5" src="images/button28.jpg" height="20"
width="100" alt="Platforms"
onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button24.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button28.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button25.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button24.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF;
fp-bgcolor:
#84A52D" fp-title="Platforms"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="5"> </td>
<td width="55">
</td>
<td width="520"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tr valign="top">
<td width="182" align="right"> <table border="0" cellpadding="1"
cellspacing="0" width="170" bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<p align="center"><b> </b><marquee style="font-style: oblique">Italian
footwear online. Choose from a variety of styles. We now exhibit at your
place of work. Contact us for more details.</marquee></td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<!-- MSTableType="nolayout" -->
<tr><td style="padding:1px;">
<table border="0" width="100%" cellspacing="3" cellpadding="0">
<td>
<img src="images/title_search.gif" alt="" border="0" vspace="1"
width="57"
height="12"></td>
</table>
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">
<!--webbot bot="SaveResults" U-File="_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan --><input
TYPE="hidden"
NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374"
endspan -->

<input type="Text" class="text" style="width:114px;" value="keyword"
size="20" name="T1"><input type="submit" value="go" name="B1"></form>
</td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<img src="images/title_browsecategory.gif" alt="" border="0" vspace="5"
width="138" height="12"></td></tr>
<tr>
<td width="155">
<img border="0" id="img6" src="images/button35.jpg" height="20"
width="100"
alt=" Sandals" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#636563; fp-justify-horiz: 0" fp-title=" Sandals"
onmouseover="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/button1A1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/button35.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/button1B1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/button1A1.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img7" src="images/button1C1.jpg" height="20"
width="100"
alt=" Mules" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Mules"
onmouseover="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button1D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button1C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button1E.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button1D1.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img8" src="images/button1F.jpg" height="20"
width="100"
alt=" Pumps" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Pumps"
onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button29.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button1F.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button30.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button29.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img9" src="images/button36.jpg" height="20"
width="100"
alt=" Boots" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Boots"
onmouseover="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button31.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button36.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button32.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button31.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img10" src="images/button37.jpg" height="20"
width="100"
alt=" Platforms" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Platforms"
onmouseover="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button33.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button37.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button34.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button33.jpg')"></td>
</tr>
<tr><td>
<img src="images/clear.gif" width="1" height="5" alt=""
border="0"></td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<img src="images/title_browsedepartment.gif" alt="" border="0" vspace="5"
width="156" height="12"></td></tr>
<tr>
<td width="170" align="right">
<p align="left">
<img border="0" id="img11" src="images/button3D.jpg" height="20"
width="100"
alt=" Womens"
onmouseover="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button3E.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button3D.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button3F1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button3E.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Womens"></td>
</tr>
<tr>
<td>
<img border="0" id="img12" src="images/button44.jpg" height="20"
width="100"
alt=" Mens" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666;
fp-justify-horiz: 0" fp-title=" Mens"
onmouseover="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button42.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button44.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button43.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button42.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img13" src="images/button55.jpg" height="20"
width="100"
alt=" Miscellaneous"
onmouseover="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button51.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button55.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button52.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button51.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Miscellaneous"></td>
</tr>
<tr>
<td>
<img border="0" id="img14" src="images/button56.jpg" height="20"
width="100"
alt=" Promotion"
onmouseover="FP_swapImg(1,0,/*id*/'img14',/*url*/'images/button4A1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img14',/*url*/'images/button56.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img14',/*url*/'images/button4B1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img14',/*url*/'images/button4A1.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Promotion"></td>
</tr>
<tr>
<td>
<img border="0" id="img15" src="images/button4C1.jpg" height="20"
width="100" alt=" Clearance"
onmouseover="FP_swapImg(1,0,/*id*/'img15',/*url*/'images/button4D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img15',/*url*/'images/button4C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img15',/*url*/'images/button4E1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img15',/*url*/'images/button4D1.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Clearance"></td>
</tr>
<tr>
<td>
<img border="0" id="img16" src="images/button4F1.jpg" height="20"
width="100" alt=" Contact us"
onmouseover="FP_swapImg(1,0,/*id*/'img16',/*url*/'images/button53.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img16',/*url*/'images/button4F1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img16',/*url*/'images/button54.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img16',/*url*/'images/button53.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Contact us"></td>
</tr>
<tr><td height="7">
<img src="images/clear.gif" width="1" height="5" alt=""
border="0"></td></tr>
</table>
</td></tr></table>
</td>
<td width="588" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="550">
<tr valign="top">
<td width="550">
<p align="left">
<table border="0" cellspacing="0" width="100%" bgcolor="#EC7A24"><tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<!--webbot bot="DatabaseRegionStart"
s-columnnames="WomensTypeID,Header,Text,Category_picture"
s-columntypes="3,202,203,202" s-dataconnection="Database2"
b-tableformat="FALSE" b-menuformat="FALSE" s-menuchoice="Header"
s-menuvalue="Header" b-tableborder="TRUE" b-tableexpand="TRUE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE"
i-listformat="5" b-makeform="FALSE" s-recordsource="Category"
s-displaycolumns="Header,Text" s-criteria="[Header] EQ {category} +"
s-order
s-sql="SELECT * FROM Category WHERE (Header = '::category::')"
b-procedure="FALSE" clientside suggestedext="asp"
s-defaultfields="category="
s-norecordsfound="No records returned." i-maxrecords="0" i-groupsize="0"
botid="1" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the
start of a Database Results region. The page must be fetched from a web
server with a web browser to display correctly; the current web is stored
on
your local disk or network.</font></td></tr></table>" startspan
b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202"
b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="FALSE"
b-ReplaceDatabaseRegion="FALSE" --><!--#include
file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<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 Category WHERE (Header = '::category::')"
fp_sDefault="category="
fp_sNoRecords="No records returned."
fp_sDataConn="Database2"
fp_iMaxRecords=0
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="Header"
fp_sMenuValue="Header"
fp_sColTypes="&WomensTypeID=3&Header=202&Text=203&Category_picture=202&"
fp_iDisplayCols=2
fp_fCustomQuery=False
BOTID=1
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="44457" --><table
BORDER="0" cellspacing="0" width="538">
<tr>
<td width="473"><font color="#000000"
size="5"><%'=FP_FieldVal(fp_rs,"Header")%></td>
<td width="0" rowspan="2"><td width="9%" valign="top" rowspan="2">
<img border="0" src="images/<%'=FP_FieldVal(fp_rs,"Category_picture")%>"
align="right"></td>
</tr>
<tr>
<td width="473"><font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="WomensTypeID,Header,Text,Category_picture" s-column="Text"
b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="&lt;font size="-1">&lt;&lt;</font>Text<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Text")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="4837" --></font></td>
</td>
</tr>
</table>
<!--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" --></td></tr>
</table>
</td></tr></table>
</td>
</tr>
</table>

<table border="0" cellpadding="2" width="550" bordercolorlight="#EC7A24"
style="border-collapse: collapse; border: 1px solid #EF7921">
<tr>
<td align="center">
<!--webbot bot="DatabaseRegionStart"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-columntypes="3,202,202,202,202,202,203,202,202,202,202"
s-dataconnection="Database1" b-tableformat="FALSE" b-menuformat="FALSE"
s-menuchoice="StockID" s-menuvalue="StockID" b-tableborder="TRUE"
b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE"
b-listseparator="TRUE" i-listformat="5" b-makeform="FALSE"
s-recordsource="Stock"
s-displaycolumns="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability"
s-criteria="[Category] EQ {Category} +" s-order="[Price] -" s-sql="SELECT
*
FROM Stock WHERE (Category = '::Category::') ORDER BY Price DESC"
b-procedure="FALSE" clientside suggestedext="asp"
s-defaultfields="Category="
s-norecordsfound="No records returned." i-maxrecords="10" i-groupsize="0"
botid="0" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the
start of a Database Results region. The page must be fetched from a web
server with a web browser to display correctly; the current web is stored
on
your local disk or network.</font></td></tr></table>" startspan
b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202"
b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="FALSE"
b-ReplaceDatabaseRegion="FALSE" --><!--#include
file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<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 Stock WHERE (Category = '::Category::') ORDER BY
Price DESC"
fp_sDefault="Category="
fp_sNoRecords="No records returned."
fp_sDataConn="Database1"
fp_iMaxRecords=10
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="StockID"
fp_sMenuValue="StockID"
fp_sColTypes="&StockID=3&Gender=202&Category=202&Make=202&Model=202&Sizes=202&Desc=203&Price=202&Availability=202&small_pic=202&big_pic=202&"
fp_iDisplayCols=9
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="61827" --><table
BORDER="0" width="544" cellspacing="0">
<tr>
<td width="100"><font color="#000000" size="1"><b>StockID:</b></font></td>
<td width="292">
<font color="#000000" size="1">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="StockID" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE"
clientside b-MenuFormat preview="&lt;font
size="-1">&lt;&lt;</font>StockID<font size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"StockID")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14220" --></font></td>
<td width="146" rowspan="4" style="border: 0px solid #FFFFFF" colspan="2">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="small_pic" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>small_pic<font size="-1">&gt;&gt;</font>"
startspan
--><%=FP_FieldVal(fp_rs,"small_pic")%><!--webbot
bot="DatabaseResultColumn"
endspan i-checksum="22161" --></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Gender:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Gender" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE"
clientside b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>Gender<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Gender")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14399" --></font></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Make:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Make" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Make<font
size="-1">&gt;&gt;</font>" startspan
s-ColumnTypes="3,202,202,202,202,202,203,202,202"
--><%=FP_FieldVal(fp_rs,"Make")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3834" --></font></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Model:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Model" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Model<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Model")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9091" --></font></td>
</tr>
<tr>
<td width="100" rowspan="4" align="left" valign="top">
<font color="#000000"><b>Description:</b></font></td>
<td width="292" rowspan="4" align="left" valign="top">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Desc" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Desc<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Desc")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3774" --></font></td>
<td width="146" style="border: 0px solid #FFFFFF" colspan="2">
</td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921">
<p align="left"><b><font color="#84A52D">Sizes:</font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921">
<b><font color="#84A52D">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Sizes" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Sizes<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Sizes")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="8757" --></font></b></td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921">
<p align="left"><b><font color="#84A52D">Price:</font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921">
<b><font color="#84A52D">£<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Price" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Price<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Price")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9640" --></font></b></td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921" height="20">
<p align="left"><b><font color="#84A52D">Available: </font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921" height="20">
<b><font color="#84A52D">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Availability" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>Availability<font size="-1">&gt;&gt;</font>"
startspan --><%=FP_FieldVal(fp_rs,"Availability")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="32598" --></font></b></td>
</tr>
</table>
<hr color="#EC7A24" size="1">
<!--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" --></td>
</tr>
</table>
<table border="0" cellpadding="2" width="550" bordercolorlight="#EC7A24"
style="border-collapse: collapse; border: 1px solid #EF7921">
<tr>
<td align="center">
<p align="left"> </td>
</tr>
<tr>
<td align="center">
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tr><td bgcolor="#84A52D" class="footer" height="20"> © D Moss Shoes
2005. All Rights Reserved.
Website designed and hosted for D Moss Shoes by Motor Styling (Internet
Consultants)</td></tr>
</table>
<br>
</body>
</html>

My database connection is called Database2.

My Access database is called dmossshoes.mdb. There are x3 tables in the
database:

Category
Department
Stock

The table properties are as follows:

Category
- WomensTypeID, Autonumber, keyfield
- Header, Text
- Text, Memo
- Category_picture, Text

Department
- ID, Autonumber, keyfield
- Category, Text
- Text, memo

Stock
- StockID, Autonumber, keyfield
- Gender, Text
- Category, Text
- Make, Text
- Model, Text
- Sizes, Text
- Desc, Memo
- Price, Text
- Availability, Text
- small_pic, Text
- big_pic, Text

I hope this gives a good picture of the site. The above page (code) is
fetched from a hyperlink on index.htm (the homepage):
stocktest.asp?category=Sandals

Help please.

skc
 
M

MikeR

More questions, I'm afraid.

Does your editor agree that line 248 falls in here somewhere, depending on line break?
<tr>
<td>
<img border="0" id="img12" src="images/button44.jpg" height="20" width="100"
alt=" Mens" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Mens"
onmouseover="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button42.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button44.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button43.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button42.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img13" src="images/button55.jpg" height="20" width="100"
alt=" Miscellaneous"
onmouseover="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button51.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button55.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button52.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button51.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Miscellaneous"></td>
</tr>

Do all these images show? Is the error when the page loads, or on one of the mouse events?
I think the error message is wrong, and/or this is not the page where the error occurs.
There is very little VB script on this page, and these lines don't have anything to do
with a database operation.

Could the error be happening on index?
MikeR
Here is the code for that page called stocktest.asp:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Italian handcraft high heels stiletto shoes: pumps sandals slippers
mules platforms boots Italian ladies and men's shoes online.</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image;
d.FP_imgs.src=a; }
}

function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
el; } }
return null;
}
// -->
</script>
<% ' FP_ASP -- ASP Automatically generated by a FrontPage Component. Do not
Edit.
FP_CharSet = "windows-1252"
FP_CodePage = 1252 %>
</head>
<body
onload="FP_preloadImgs(/*url*/'images/button4.jpg',/*url*/'images/button5.jpg',/*url*/'images/buttonE.jpg',/*url*/'images/buttonF1.jpg',/*url*/'images/button12.jpg',/*url*/'images/button13.jpg',/*url*/'images/button14.jpg',/*url*/'images/button20.jpg',/*url*/'images/button24.jpg',/*url*/'images/button25.jpg',/*url*/'images/button1A1.jpg',/*url*/'images/button1B1.jpg',/*url*/'images/button1D1.jpg',/*url*/'images/button1E.jpg',/*url*/'images/button29.jpg',/*url*/'images/button30.jpg',/*url*/'images/button31.jpg',/*url*/'images/button32.jpg',/*url*/'images/button33.jpg',/*url*/'images/button34.jpg',/*url*/'images/button3E.jpg',/*url*/'images/button3F1.jpg',/*url*/'images/button42.jpg',/*url*/'images/button43.jpg',/*url*/'images/button51.jpg',/*url*/'images/button52.jpg',/*url*/'images/button4A1.jpg',/*url*/'images/button4B1.jpg',/*url*/'images/button4D1.jpg',/*url*/'images/button4E1.jpg',/*url*/'images/button53.jpg',/*url*/'images/button54.jpg')">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="770" id="AutoNumber1" height="39">
<tr>
<td width="10"> </td>
<td width="176" rowspan="2">
<p align="left">
<a href="index.htm">
<img border="0" src="images/logo_head_new.gif" width="176"
height="48"></a></td>
<td width="585" bgcolor="#84A52D" colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<img border="0" id="img1" src="images/button6.jpg" height="20" width="100"
alt="Sandals" fp-style="fp-btn: Simple Circle 2; fp-font-color-normal:
#FFFFFF; fp-bgcolor: #84A52D" fp-title="Sandals"
onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button4.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button6.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button5.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button4.jpg')"></td>
<td>
<img border="0" id="img2" src="images/buttonD.jpg" height="20" width="100"
alt="Mules"
onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/buttonE.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/buttonD.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/buttonF1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/buttonE.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Mules"></td>
<td>
<img border="0" id="img3" src="images/button26.jpg" height="20"
width="100" alt="Pumps"
onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/button12.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/button26.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/button13.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/button12.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Pumps"></td>
<td>
<img border="0" id="img4" src="images/button27.jpg" height="20"
width="100" alt="Boots"
onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button14.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button27.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button20.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button14.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Boots"></td>
<td>
<img border="0" id="img5" src="images/button28.jpg" height="20"
width="100" alt="Platforms"
onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button24.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button28.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button25.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button24.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Platforms"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="5"> </td>
<td width="55">
</td>
<td width="520"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tr valign="top">
<td width="182" align="right"> <table border="0" cellpadding="1"
cellspacing="0" width="170" bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<p align="center"><b> </b><marquee style="font-style: oblique">Italian
footwear online. Choose from a variety of styles. We now exhibit at your
place of work. Contact us for more details.</marquee></td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<!-- MSTableType="nolayout" -->
<tr><td style="padding:1px;">
<table border="0" width="100%" cellspacing="3" cellpadding="0">
<td>
<img src="images/title_search.gif" alt="" border="0" vspace="1" width="57"
height="12"></td>
</table>
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">
<!--webbot bot="SaveResults" U-File="_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan --><input TYPE="hidden"
NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374"
endspan -->

<input type="Text" class="text" style="width:114px;" value="keyword"
size="20" name="T1"><input type="submit" value="go" name="B1"></form>
</td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<img src="images/title_browsecategory.gif" alt="" border="0" vspace="5"
width="138" height="12"></td></tr>
<tr>
<td width="155">
<img border="0" id="img6" src="images/button35.jpg" height="20" width="100"
alt=" Sandals" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#636563; fp-justify-horiz: 0" fp-title=" Sandals"
onmouseover="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/button1A1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/button35.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/button1B1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/button1A1.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img7" src="images/button1C1.jpg" height="20" width="100"
alt=" Mules" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Mules"
onmouseover="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button1D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button1C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button1E.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button1D1.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img8" src="images/button1F.jpg" height="20" width="100"
alt=" Pumps" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Pumps"
onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button29.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button1F.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button30.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button29.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img9" src="images/button36.jpg" height="20" width="100"
alt=" Boots" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Boots"
onmouseover="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button31.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button36.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button32.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button31.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img10" src="images/button37.jpg" height="20" width="100"
alt=" Platforms" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Platforms"
onmouseover="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button33.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button37.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button34.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button33.jpg')"></td>
</tr>
<tr><td>
<img src="images/clear.gif" width="1" height="5" alt=""
border="0"></td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<img src="images/title_browsedepartment.gif" alt="" border="0" vspace="5"
width="156" height="12"></td></tr>
<tr>
<td width="170" align="right">
<p align="left">
<img border="0" id="img11" src="images/button3D.jpg" height="20" width="100"
alt=" Womens"
onmouseover="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button3E.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button3D.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button3F1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button3E.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Womens"></td>
</tr>
<tr>
<td>
<img border="0" id="img12" src="images/button44.jpg" height="20" width="100"
alt=" Mens" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Mens"
onmouseover="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button42.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button44.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button43.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button42.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img13" src="images/button55.jpg" height="20" width="100"
alt=" Miscellaneous"
onmouseover="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button51.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button55.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button52.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button51.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Miscellaneous"></td>
</tr>
<tr>
<td>
<img border="0" id="img14" src="images/button56.jpg" height="20" width="100"
alt=" Promotion"
onmouseover="FP_swapImg(1,0,/*id*/'img14',/*url*/'images/button4A1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img14',/*url*/'images/button56.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img14',/*url*/'images/button4B1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img14',/*url*/'images/button4A1.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Promotion"></td>
</tr>
<tr>
<td>
<img border="0" id="img15" src="images/button4C1.jpg" height="20"
width="100" alt=" Clearance"
onmouseover="FP_swapImg(1,0,/*id*/'img15',/*url*/'images/button4D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img15',/*url*/'images/button4C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img15',/*url*/'images/button4E1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img15',/*url*/'images/button4D1.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Clearance"></td>
</tr>
<tr>
<td>
<img border="0" id="img16" src="images/button4F1.jpg" height="20"
width="100" alt=" Contact us"
onmouseover="FP_swapImg(1,0,/*id*/'img16',/*url*/'images/button53.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img16',/*url*/'images/button4F1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img16',/*url*/'images/button54.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img16',/*url*/'images/button53.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Contact us"></td>
</tr>
<tr><td height="7">
<img src="images/clear.gif" width="1" height="5" alt=""
border="0"></td></tr>
</table>
</td></tr></table>
</td>
<td width="588" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="550">
<tr valign="top">
<td width="550">
<p align="left">
<table border="0" cellspacing="0" width="100%" bgcolor="#EC7A24"><tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<!--webbot bot="DatabaseRegionStart"
s-columnnames="WomensTypeID,Header,Text,Category_picture"
s-columntypes="3,202,203,202" s-dataconnection="Database2"
b-tableformat="FALSE" b-menuformat="FALSE" s-menuchoice="Header"
s-menuvalue="Header" b-tableborder="TRUE" b-tableexpand="TRUE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE"
i-listformat="5" b-makeform="FALSE" s-recordsource="Category"
s-displaycolumns="Header,Text" s-criteria="[Header] EQ {category} +" s-order
s-sql="SELECT * FROM Category WHERE (Header = '::category::')"
b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields="category="
s-norecordsfound="No records returned." i-maxrecords="0" i-groupsize="0"
botid="1" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the
start of a Database Results region. The page must be fetched from a web
server with a web browser to display correctly; the current web is stored on
your local disk or network.</font></td></tr></table>" startspan
b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202" b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="FALSE"
b-ReplaceDatabaseRegion="FALSE" --><!--#include file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<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 Category WHERE (Header = '::category::')"
fp_sDefault="category="
fp_sNoRecords="No records returned."
fp_sDataConn="Database2"
fp_iMaxRecords=0
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="Header"
fp_sMenuValue="Header"
fp_sColTypes="&WomensTypeID=3&Header=202&Text=203&Category_picture=202&"
fp_iDisplayCols=2
fp_fCustomQuery=False
BOTID=1
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="44457" --><table
BORDER="0" cellspacing="0" width="538">
<tr>
<td width="473"><font color="#000000"
size="5"><%'=FP_FieldVal(fp_rs,"Header")%></td>
<td width="0" rowspan="2"><td width="9%" valign="top" rowspan="2">
<img border="0" src="images/<%'=FP_FieldVal(fp_rs,"Category_picture")%>"
align="right"></td>
</tr>
<tr>
<td width="473"><font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="WomensTypeID,Header,Text,Category_picture" s-column="Text"
b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="&lt;font size="-1">&lt;&lt;</font>Text<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Text")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="4837" --></font></td>
</td>
</tr>
</table>
<!--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" --></td></tr>
</table>
</td></tr></table>
</td>
</tr>
</table>

<table border="0" cellpadding="2" width="550" bordercolorlight="#EC7A24"
style="border-collapse: collapse; border: 1px solid #EF7921">
<tr>
<td align="center">
<!--webbot bot="DatabaseRegionStart"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-columntypes="3,202,202,202,202,202,203,202,202,202,202"
s-dataconnection="Database1" b-tableformat="FALSE" b-menuformat="FALSE"
s-menuchoice="StockID" s-menuvalue="StockID" b-tableborder="TRUE"
b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE"
b-listseparator="TRUE" i-listformat="5" b-makeform="FALSE"
s-recordsource="Stock"
s-displaycolumns="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability"
s-criteria="[Category] EQ {Category} +" s-order="[Price] -" s-sql="SELECT *
FROM Stock WHERE (Category = '::Category::') ORDER BY Price DESC"
b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields="Category="
s-norecordsfound="No records returned." i-maxrecords="10" i-groupsize="0"
botid="0" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the
start of a Database Results region. The page must be fetched from a web
server with a web browser to display correctly; the current web is stored on
your local disk or network.</font></td></tr></table>" startspan
b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202" b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="FALSE"
b-ReplaceDatabaseRegion="FALSE" --><!--#include file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<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 Stock WHERE (Category = '::Category::') ORDER BY
Price DESC"
fp_sDefault="Category="
fp_sNoRecords="No records returned."
fp_sDataConn="Database1"
fp_iMaxRecords=10
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="StockID"
fp_sMenuValue="StockID"
fp_sColTypes="&StockID=3&Gender=202&Category=202&Make=202&Model=202&Sizes=202&Desc=203&Price=202&Availability=202&small_pic=202&big_pic=202&"
fp_iDisplayCols=9
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="61827" --><table
BORDER="0" width="544" cellspacing="0">
<tr>
<td width="100"><font color="#000000" size="1"><b>StockID:</b></font></td>
<td width="292">
<font color="#000000" size="1">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="StockID" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="&lt;font
size="-1">&lt;&lt;</font>StockID<font size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"StockID")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14220" --></font></td>
<td width="146" rowspan="4" style="border: 0px solid #FFFFFF" colspan="2">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="small_pic" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>small_pic<font size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"small_pic")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="22161" --></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Gender:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Gender" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Gender<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Gender")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14399" --></font></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Make:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Make" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Make<font
size="-1">&gt;&gt;</font>" startspan
s-ColumnTypes="3,202,202,202,202,202,203,202,202"
--><%=FP_FieldVal(fp_rs,"Make")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3834" --></font></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Model:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Model" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Model<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Model")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9091" --></font></td>
</tr>
<tr>
<td width="100" rowspan="4" align="left" valign="top">
<font color="#000000"><b>Description:</b></font></td>
<td width="292" rowspan="4" align="left" valign="top">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Desc" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Desc<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Desc")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3774" --></font></td>
<td width="146" style="border: 0px solid #FFFFFF" colspan="2">
</td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921">
<p align="left"><b><font color="#84A52D">Sizes:</font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921">
<b><font color="#84A52D">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Sizes" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Sizes<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Sizes")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="8757" --></font></b></td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921">
<p align="left"><b><font color="#84A52D">Price:</font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921">
<b><font color="#84A52D">£<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Price" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1">&lt;&lt;</font>Price<font
size="-1">&gt;&gt;</font>" startspan
--><%=FP_FieldVal(fp_rs,"Price")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9640" --></font></b></td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921" height="20">
<p align="left"><b><font color="#84A52D">Available: </font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921" height="20">
<b><font color="#84A52D">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Availability" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>Availability<font size="-1">&gt;&gt;</font>"
startspan --><%=FP_FieldVal(fp_rs,"Availability")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="32598" --></font></b></td>
</tr>
</table>
<hr color="#EC7A24" size="1">
<!--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" --></td>
</tr>
</table>
<table border="0" cellpadding="2" width="550" bordercolorlight="#EC7A24"
style="border-collapse: collapse; border: 1px solid #EF7921">
<tr>
<td align="center">
<p align="left"> </td>
</tr>
<tr>
<td align="center">
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tr><td bgcolor="#84A52D" class="footer" height="20"> © D Moss Shoes
2005. All Rights Reserved.
Website designed and hosted for D Moss Shoes by Motor Styling (Internet
Consultants)</td></tr>
</table>
<br>
</body>
</html>

My database connection is called Database2.

My Access database is called dmossshoes.mdb. There are x3 tables in the
database:

Category
Department
Stock

The table properties are as follows:

Category
- WomensTypeID, Autonumber, keyfield
- Header, Text
- Text, Memo
- Category_picture, Text

Department
- ID, Autonumber, keyfield
- Category, Text
- Text, memo

Stock
- StockID, Autonumber, keyfield
- Gender, Text
- Category, Text
- Make, Text
- Model, Text
- Sizes, Text
- Desc, Memo
- Price, Text
- Availability, Text
- small_pic, Text
- big_pic, Text

I hope this gives a good picture of the site. The above page (code) is
fetched from a hyperlink on index.htm (the homepage):
stocktest.asp?category=Sandals

Help please.

skc
 
M

MikeR

I'm with Kevin on not being up on FP wizzard code. IMHO it's well worth the time to learn
how to hand code this stuff. It sure makes debugging a lot simpler. That however doesn't
address your problem.

The error message mentions a line number. I assumed it referred to stocktest.asp, and
those lines are near that number (line 248), depending on how lines break in your editor,
which may be different from what I see here, which is dependent on among other things, my
newsreader program.

After looking at the HTML for stocktest.asp, I don't see anything in the lines arround
line 248 that is database related, so I was trying to pin down exactly where the error
occured.

Does stocktest.asp display all the images when it loads? Does the error message appear
when you mouseover or click on an image?
 
S

Stefan B Rusynko

The line #'s reported often include the lines from any include pages, and are highly dependent on your FP Code view settings
- in my case that page shows me w/ line 248 being
<!--#include file="_fpclass/fpdblib.inc"-->

--




| I'm with Kevin on not being up on FP wizzard code. IMHO it's well worth the time to learn
| how to hand code this stuff. It sure makes debugging a lot simpler. That however doesn't
| address your problem.
|
| The error message mentions a line number. I assumed it referred to stocktest.asp, and
| those lines are near that number (line 248), depending on how lines break in your editor,
| which may be different from what I see here, which is dependent on among other things, my
| newsreader program.
|
| After looking at the HTML for stocktest.asp, I don't see anything in the lines arround
| line 248 that is database related, so I was trying to pin down exactly where the error
| occured.
|
| Does stocktest.asp display all the images when it loads? Does the error message appear
| when you mouseover or click on an image?
|
| MikeR
| Skc wrote:
| > Mike,
| >
| > I did not understand what you mean't. Please explain again.
| >
| > skc
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top