This is the code exactly as I have it now
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="indust 110, default">
</head>
<body><%@ LANGUAGE = "JavaScript"%>
<table border="1">
<%var str_DogSize = new String(Request.Form("DogSize"

);
var str_DogGrooming = new String(Request.Form("DogGrooming"

);
var str_DogExercise = new String(Request.Form("DogExercise"

);
var str_DogSpace = new String(Request.Form("DogSpace"

);
var str_DogFeed =new String(Request.Form("DogFeed"

);
if (str_DogSize!="undefined" && str_DogGrooming!="undefined" && str_DogExercise!="undefined" &&
str_DogSpace!="undefined" && str_DogFeed!="undefined"

{
%> <tr>
<td align="left" style="font-weight:bold;">Breed Name</td>
</tr>
<% // Open connection to database, then populate a recordset with list of breeds
var adoConnection = Server.CreateObject("ADODB.Connection"

;
adoConnection.Open("DSN=DogDSN"

;
var mySQL = 'SELECT BreedName FROM Breeds ';
mySQL += 'WHERE Size="' + str_DogSize +'" ';
mySQL += 'and Grooming="' +str_DogGrooming +'" ';
mySQL += 'and Exercise="' +str_DogExercise +'" ';
mySQL += 'and SpaceReq="' +str_DogSpace +'" ';
mySQL += 'and FeedingReq="' +str_DogFeed +'" ';
var adoRecordSet = adoConnection.Execute(mySQL);
// Loop through recordset and write Breed Names out to page
while (!adoRecordSet.Eof){
%> <tr>
<td><%=adoRecordSet.Fields("BreedName"

.Value%></td>
</tr>
<% adoRecordSet.MoveNext();
}
// Close Recordset and connections
// and release memory used by Recordset and Connection objects
adoRecordSet.Close();
adoRecordSet = null;
adoConnection.Close();
adoConnection = null;
}else{
%> <tr>
<td valign="top" align="right">Breed Size refers to ...</td>
<td valign="top" align="right">Breed Size:</td>
<td align=left>
<form method="post">
<input type="radio" name="DogSize" value="S">Small<br>
<input type="radio" name="DogSize" value="M">Medium<br>
<input type="radio" name="DogSize" value="L">Large<br>
<input type="radio" name="DogSize" value="XL">Giant<br>
</td>
</tr>
<tr>
<td valign="top" align="right">Grooming Required refers to ...</td> <td valign="top" align="right">Grooming Required:</td>
<td align=left>
<input type="radio" name="DogGrooming" value="Lt">Little<br>
<input type="radio" name="DogGrooming" value="Mod">Moderate<br>
<input type="radio" name="DogGrooming" value="Con">Considerable<br>
</td>
</tr>
<tr>
<td valign="top" align="right">Exercise Required refers to ...</td> <td valign="top" align="right">Exercise Required:</td>
<td align=left>
<input type="radio" name="DogExercise" value="Lt">Little<br>
<input type="radio" name="DogExercise" value="Mod">Moderate<br>
<input type="radio" name="DogExercise" value="Con">Considerable<br>
</td>
</tr>
<tr>
<td valign="top" align="right">Space Required refers to ...</td> <td valign="top" align="right">Space Required:</td>
<td align=left>
<input type="radio" name="DogSpace" value="Lt">Little<br>
<input type="radio" name="DogSpace" value="Mod">Moderate<br>
<input type="radio" name="DogSpace" value="Con">Considerable<br>
</td>
</tr>
<tr>
<td valign="top" align="right">Feeding Required refers to ...</td> <td valign="top" align="right">Feeding Required:</td>
<td align=left>
<input type="radio" name="DogFeed" value="Lt">Little<br>
<input type="radio" name="DogFeed" value="Mod">Moderate<br>
<input type="radio" name="DogFeed" value="Con">Considerable<br>
<input type="submit" value="Search">
<form>
</td>
</tr>
<%}
%> <tr>
<td colspan="2">
<a href="homepage.asp">
Back to homepage
</a>
</td>
</tr>
<%
%>
</table></body>
</html>
I am still receiving the same error message and all the field names are correct and the data types are all text