A
Art
I am attempting to query a SQL table using the DBW. I am
using FP2002
If I just list the entire database with no search
criteria, everything works fine.
The minute I add a search criteria (and a search form),
such as on zip, I get this error:
Database Results Error
Your page contains a query with user input parameters that
could not be resolved. This could happen if your
DatabaseRegionStart webbot has an empty or missing s-
columnnames or s-columntypes attributes. You may need to
read Microsoft Knowledge Base Article 817029.
I read the article although it apples to FP2003 and it
makes no sense in my case. The only thing I can figure is
the s-attributes are incorrect but I have no idea how to
change them.
All of the fields in the SQL table are set up as varchar.
Let me know if anyone can help with this dilemna. Thanks
Here is the relevant part (I think) if my asp page.
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-
checksum="26437" --><tr>
<td>
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Company" b-tableformat="TRUE"
b-hashtml="FALSE" b-makelink="FALSE" clientside b-
MenuFormat preview="<font size="-
1">&lt;&lt;</font>Company<font
size="-1">&gt;&gt;</font>"
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Address" b-tableformat="TRUE"
b-hashtml="FALSE" b-makelink="FALSE" clientside b-
MenuFormat preview="<font size="-
1">&lt;&lt;</font>Address<font
size="-1">&gt;&gt;</font>"
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="City" b-tableformat="TRUE" b-
hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat
preview="<font size="-
1">&lt;&lt;</font>City<font
size="-1">&gt;&gt;</font>"
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="State" b-tableformat="TRUE" b-
hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat
preview="<font size="-
1">&lt;&lt;</font>State<font
size="-1">&gt;&gt;</font>"
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Zip" b-tableformat="TRUE" b-
hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat
preview="<font size="-
1">&lt;&lt;</font>Zip<font
size="-1">&gt;&gt;</font>"
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Telephone" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-
1">&lt;&lt;</font>Telephone<font
size="-1">&gt;&gt;</font>"
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Facsimile" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-
1">&lt;&lt;</font>Facsimile<font
size="-1">&gt;&gt;</font>"
<!--webbot bot="DatabaseRegionEnd" b-
tableformat="TRUE" b-menuformat="FALSE" u-
dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0" clientside
tag="TBODY" preview="<tr><td colspan=64
bgcolor="#FFFF00" align="left"
width="100%"><font
color="#000000">This is the end of a Database
Results region.</font></td></tr>"
startspan --><!--#include file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-
checksum="62730" -->
using FP2002
If I just list the entire database with no search
criteria, everything works fine.
The minute I add a search criteria (and a search form),
such as on zip, I get this error:
Database Results Error
Your page contains a query with user input parameters that
could not be resolved. This could happen if your
DatabaseRegionStart webbot has an empty or missing s-
columnnames or s-columntypes attributes. You may need to
read Microsoft Knowledge Base Article 817029.
I read the article although it apples to FP2003 and it
makes no sense in my case. The only thing I can figure is
the s-attributes are incorrect but I have no idea how to
change them.
All of the fields in the SQL table are set up as varchar.
Let me know if anyone can help with this dilemna. Thanks
Here is the relevant part (I think) if my asp page.
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-
checksum="26437" --><tr>
<td>
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Company" b-tableformat="TRUE"
b-hashtml="FALSE" b-makelink="FALSE" clientside b-
MenuFormat preview="<font size="-
1">&lt;&lt;</font>Company<font
size="-1">&gt;&gt;</font>"
<td>startspan --> said:</td>
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Address" b-tableformat="TRUE"
b-hashtml="FALSE" b-makelink="FALSE" clientside b-
MenuFormat preview="<font size="-
1">&lt;&lt;</font>Address<font
size="-1">&gt;&gt;</font>"
<td>startspan --> said:</td>
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="City" b-tableformat="TRUE" b-
hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat
preview="<font size="-
1">&lt;&lt;</font>City<font
size="-1">&gt;&gt;</font>"
<td>startspan --> said:</td>
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="State" b-tableformat="TRUE" b-
hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat
preview="<font size="-
1">&lt;&lt;</font>State<font
size="-1">&gt;&gt;</font>"
<td>startspan --> said:</td>
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Zip" b-tableformat="TRUE" b-
hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat
preview="<font size="-
1">&lt;&lt;</font>Zip<font
size="-1">&gt;&gt;</font>"
<td>startspan --> said:</td>
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Telephone" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-
1">&lt;&lt;</font>Telephone<font
size="-1">&gt;&gt;</font>"
<td>startspan --> said:</td>
<!--webbot bot="DatabaseResultColumn" s-
columnnames="ID,Company,Location,Address,City,State,Zip,Tel
ephone,Facsimile" s-column="Facsimile" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-
1">&lt;&lt;</font>Facsimile<font
size="-1">&gt;&gt;</font>"
</tr>startspan --> said:</td>
<!--webbot bot="DatabaseRegionEnd" b-
tableformat="TRUE" b-menuformat="FALSE" u-
dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0" clientside
tag="TBODY" preview="<tr><td colspan=64
bgcolor="#FFFF00" align="left"
width="100%"><font
color="#000000">This is the end of a Database
Results region.</font></td></tr>"
startspan --><!--#include file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-
checksum="62730" -->