Hi Guys,
Im sticking a little on an ASP page im doing on my site, the sequence of pages allow the members to add records and then be displayed.
In each record a user can add there are scores which i total up in the last colum to give total pionts for that event.
My problem is when there are more than 1 record by that perticular entrant, im tring to create a recordset , compare if the names are the same, if they are get the total points from that record add to the grand total and move on to the next record to do the same again and again till all records have been checked and totaled up.
I have pasted the page below in the hope someone can assist me, at the moment the code runs but gives the wrong total.
Thanks in advance
Les
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="../../Connections/sbt.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.QueryString("id"
<> ""
Then
Recordset1__MMColParam = Request.QueryString("id"
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset"
Recordset1.ActiveConnection = MM_sbt_STRING
Recordset1.Source = "SELECT * FROM shows1 WHERE id = " + Replace(Recordset1__MMColParam, "'", "''"
+ ""
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim Recordset2__MMColParam
Recordset2__MMColParam = "1"
If (Session("kcn1"
<> ""
Then
Recordset2__MMColParam = Session("kcn1"
End If
%>
<%
Dim Recordset2
Dim Recordset2_numRows
Set Recordset2 = Server.CreateObject("ADODB.Recordset"
Recordset2.ActiveConnection = MM_sbt_STRING
Recordset2.Source = "SELECT * FROM shows1 WHERE kcname = '" + Replace(Recordset2__MMColParam, "'", "''"
+ "'"
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()
Recordset2_numRows = 0
%>
<%
Dim RSgtot__MMColParam
RSgtot__MMColParam = "1"
If (Session("kcname"
<> ""
Then
RSgtot__MMColParam = Session("kcname"
End If
%>
<%
Dim MM_paramName
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> ""
Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> ""
Then
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> ""
Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> ""
Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> ""
Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
Recordset2_numRows = Recordset2_numRows + Repeat1__numRows
%>
<html>
<head>
<title>Individual Details Of The Staffordshire Bull Terrier</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div align="center">
<p><img src="../ped_banner1.gif" width="610" height="123"></p>
<p><font size="+2" face="Arial, Helvetica, sans-serif">Details Of The Record
You Chose To View</font></p>
<p><font face="Arial, Helvetica, sans-serif">ID: <font color="#0000FF"><%=(Recordset1.Fields.Item("id"
.Value)%></font> </font><font color="#000000" size="-1" face="Arial, Helvetica, sans-serif">
KC Name:</font><font color="#FF0000" face="Arial, Helvetica, sans-serif">
<%=(Recordset1.Fields.Item("kcname"
.Value)%></font><font color="#000000" size="-1" face="Arial, Helvetica, sans-serif">
Sex:</font><font color="#009900" face="Arial, Helvetica, sans-serif"><strong><%=(Recordset1.Fields.Item("Sex"
.Value)%></strong></font></p>
<table width="101%" height="256" border="1">
<tr>
<td height="250" bgcolor="#FFFFFF">
<div align="center">
<form name="form1" method="post" action="">
<font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong> Total
Points : <%=(Recordset1.Fields.Item("points"
.Value)%></strong></font>
<table width="100%" border="1" bgcolor="#FFFFFF">
<tr bgcolor="#0000FF">
<td width="11%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Society</font></strong></td>
<td width="9%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Venue</font></strong></td>
<td width="8%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Judge</font></strong></td>
<td width="4%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Class</font></strong></td>
<td width="5%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Show
Date</font></strong></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">1st</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">2nd</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">3rd</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">4th</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">5th</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">BOB</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">BD</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">BB</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">CC</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">RCC</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">BIS</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">G1</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">G2</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">G3</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">G4</font></strong></font></div></td>
</tr>
<tr bordercolor="#FFFFFF" bgcolor="#CCCCCC">
<td height="21"><font color="#000000" size="-2" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("sociaty"
.Value)%></font></td>
<td><font color="#000000" size="-2" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("venue"
.Value)%></font></td>
<td><font color="#000000" size="-2"> <%=(Recordset1.Fields.Item("judge"
.Value)%></font></td>
<td><font color="#000000" size="-2" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("class"
.Value)%></font></td>
<td><font color="#0000FF" size="-2" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("showdate"
.Value)%></font></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("1st"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("2nd"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("3rd"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("4th"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("5th"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("BOB"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("BD"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("BB"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("CC"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("RCC"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("BIS"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("G1"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("G2"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("G3"
.Value)%></font></div></td>
<td><div align="center"><font color="#FF0000" size="-2"><%=(Recordset1.Fields.Item("G4"
.Value)%></font></div></td>
</tr>
</table>
<p><font color="#0000FF" face="Arial, Helvetica, sans-serif"> </font><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">
<% Session("kcname"
= (Recordset1.Fields.Item("kcname"
.Value)%>
</font><font color="#0000FF" face="Arial, Helvetica, sans-serif">Total
Points Awarded <font color="#FF0000" size="+1"> <strong>
<% session("dogtotal1"
= (Recordset1.Fields.Item("1st"
.Value) + (Recordset1.Fields.Item("2nd"
.Value) + _
(Recordset1.Fields.Item("3rd"
.Value) + (Recordset1.Fields.Item("4th"
.Value) + _
(Recordset1.Fields.Item("5th"
.Value) + (Recordset1.Fields.Item("BOB"
.Value) + _
(Recordset1.Fields.Item("BD"
.Value) + (Recordset1.Fields.Item("BB"
.Value) + _
(Recordset1.Fields.Item("CC"
.Value) + (Recordset1.Fields.Item("RCC"
.Value) + _
(Recordset1.Fields.Item("BIS"
.Value) + (Recordset1.Fields.Item("G1"
.Value) + _
(Recordset1.Fields.Item("G2"
.Value) + (Recordset1.Fields.Item("G3"
.Value) + _
(Recordset1.Fields.Item("G4"
.Value)
Response.write (session("dogtotal1"
)
%>
</strong> </font> | Points Grant Total <font color="#FF0000"> <strong>
<%
Dim RSgtot
Dim RSgtot_numRows
session("Gtotal"
= 0
Set RSgtot = Server.CreateObject("ADODB.Recordset"
RSgtot.ActiveConnection = MM_sbt_STRING
RSgtot.Source = "SELECT * FROM shows1 WHERE kcname = '" + Replace(Recordset1.Fields.Item("kcname"
.Value, "'", "''"
+ "'"
RSgtot.CursorType = 0
RSgtot.CursorLocation = 2
RSgtot.LockType = 1
RSgtot.Open()
RSgtot_numRows = 0
RSgtot.movefirst
DO WHILE NOT RSgtot.EOF
IF (RSgtot.Fields.Item("kcname"
.value) = (Recordset1.Fields.Item("kcname"
.Value)THEN
session("Gtotal"
= session("Gtotal"
+ session("dogtotal1"
EXIT DO
END IF
RSgtot.movenext
LOOP
Response.write (session("Gtotal"
) %>
</strong> </font> </font></p>
<p><font color="#0000FF" face="Arial, Helvetica, sans-serif">Dogs
Entered: <font color="#FF0000"><strong><%=(Recordset1.Fields.Item("entered"
.Value)%></strong></font> | Dogs Absent: <font color="#FF0000"><strong><%=(Recordset1.Fields.Item("absent"
.Value)%></strong></font> | Total JW Points: <font color="#FF0000"><strong><%=(Recordset1.Fields.Item("jw"
.Value)%></strong> <font color="#0000FF">|</font> </font><font size="-1">Affix
/ Prefix:</font><font color="#FF0000" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("affix"
.Value)%> <font color="#0000FF">|</font> </font><font color="#0000FF" face="Arial, Helvetica, sans-serif">Owner::<font color="#006600"><%=(Recordset1.Fields.Item("ownersfname"
.Value)%></font> <font color="#009900"><%=(Recordset1.Fields.Item("ownerssname"
.Value)%></font></font></font></p>
<p><font face="Arial, Helvetica, sans-serif"><A HREF="details2.asp?<%= MM_keepBoth & MM_joinChar(MM_keepBoth) & "kcname=" & Recordset1.Fields.Item("kcname"
.Value %>">View
All Shows Recorded's That </A></font><font color="#FF0000" face="Arial, Helvetica, sans-serif"><strong><%=(Recordset1.Fields.Item("kcname"
.Value)%></strong></font> <font face="Arial, Helvetica, sans-serif"><A HREF="details2.asp?<%= MM_keepBoth & MM_joinChar(MM_keepBoth) & "kcname=" & Recordset1.Fields.Item("kcname"
.Value %>">Has
Been Entered For So Far</A> </font></p>
</form>
<font color="#FFFFFF" face="Arial, Helvetica, sans-serif"> </font></div></td>
</tr>
</table>
<a href="index.asp"><font face="Arial, Helvetica, sans-serif">Back To Main Page</font></a>
<p><a href="../forum/default.asp"><img src="../banner/bbs_banner1.png" width="610" height="123" border="0"></a></p>
</div>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
<%
RSgtot.Close()
Set RSgtot = Nothing
%>
Im sticking a little on an ASP page im doing on my site, the sequence of pages allow the members to add records and then be displayed.
In each record a user can add there are scores which i total up in the last colum to give total pionts for that event.
My problem is when there are more than 1 record by that perticular entrant, im tring to create a recordset , compare if the names are the same, if they are get the total points from that record add to the grand total and move on to the next record to do the same again and again till all records have been checked and totaled up.
I have pasted the page below in the hope someone can assist me, at the moment the code runs but gives the wrong total.
Thanks in advance
Les
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="../../Connections/sbt.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.QueryString("id"
Recordset1__MMColParam = Request.QueryString("id"
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset"
Recordset1.ActiveConnection = MM_sbt_STRING
Recordset1.Source = "SELECT * FROM shows1 WHERE id = " + Replace(Recordset1__MMColParam, "'", "''"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim Recordset2__MMColParam
Recordset2__MMColParam = "1"
If (Session("kcn1"
Recordset2__MMColParam = Session("kcn1"
End If
%>
<%
Dim Recordset2
Dim Recordset2_numRows
Set Recordset2 = Server.CreateObject("ADODB.Recordset"
Recordset2.ActiveConnection = MM_sbt_STRING
Recordset2.Source = "SELECT * FROM shows1 WHERE kcname = '" + Replace(Recordset2__MMColParam, "'", "''"
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()
Recordset2_numRows = 0
%>
<%
Dim RSgtot__MMColParam
RSgtot__MMColParam = "1"
If (Session("kcname"
RSgtot__MMColParam = Session("kcname"
End If
%>
<%
Dim MM_paramName
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> ""
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> ""
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> ""
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> ""
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> ""
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
Recordset2_numRows = Recordset2_numRows + Repeat1__numRows
%>
<html>
<head>
<title>Individual Details Of The Staffordshire Bull Terrier</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div align="center">
<p><img src="../ped_banner1.gif" width="610" height="123"></p>
<p><font size="+2" face="Arial, Helvetica, sans-serif">Details Of The Record
You Chose To View</font></p>
<p><font face="Arial, Helvetica, sans-serif">ID: <font color="#0000FF"><%=(Recordset1.Fields.Item("id"
KC Name:</font><font color="#FF0000" face="Arial, Helvetica, sans-serif">
<%=(Recordset1.Fields.Item("kcname"
Sex:</font><font color="#009900" face="Arial, Helvetica, sans-serif"><strong><%=(Recordset1.Fields.Item("Sex"
<table width="101%" height="256" border="1">
<tr>
<td height="250" bgcolor="#FFFFFF">
<div align="center">
<form name="form1" method="post" action="">
<font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong> Total
Points : <%=(Recordset1.Fields.Item("points"
<table width="100%" border="1" bgcolor="#FFFFFF">
<tr bgcolor="#0000FF">
<td width="11%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Society</font></strong></td>
<td width="9%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Venue</font></strong></td>
<td width="8%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Judge</font></strong></td>
<td width="4%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Class</font></strong></td>
<td width="5%"><strong><font color="#FFFFFF" size="-2" face="Arial, Helvetica, sans-serif">Show
Date</font></strong></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">1st</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">2nd</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">3rd</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">4th</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">5th</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">BOB</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">BD</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">BB</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">CC</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">RCC</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">BIS</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">G1</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">G2</font></strong></font></div></td>
<td width="2%">
<div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">G3</font></strong></font></div></td>
<td width="2%"> <div align="center"><font size="-2"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">G4</font></strong></font></div></td>
</tr>
<tr bordercolor="#FFFFFF" bgcolor="#CCCCCC">
<td height="21"><font color="#000000" size="-2" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("sociaty"
<td><font color="#000000" size="-2" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("venue"
<td><font color="#000000" size="-2"> <%=(Recordset1.Fields.Item("judge"
<td><font color="#000000" size="-2" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("class"
<td><font color="#0000FF" size="-2" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("showdate"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("1st"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("2nd"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("3rd"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("4th"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("5th"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("BOB"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("BD"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("BB"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("CC"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("RCC"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("BIS"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("G1"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("G2"
<td><div align="center"><font color="#FF0000" size="-2"> <%=(Recordset1.Fields.Item("G3"
<td><div align="center"><font color="#FF0000" size="-2"><%=(Recordset1.Fields.Item("G4"
</tr>
</table>
<p><font color="#0000FF" face="Arial, Helvetica, sans-serif"> </font><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">
<% Session("kcname"
</font><font color="#0000FF" face="Arial, Helvetica, sans-serif">Total
Points Awarded <font color="#FF0000" size="+1"> <strong>
<% session("dogtotal1"
(Recordset1.Fields.Item("3rd"
(Recordset1.Fields.Item("5th"
(Recordset1.Fields.Item("BD"
(Recordset1.Fields.Item("CC"
(Recordset1.Fields.Item("BIS"
(Recordset1.Fields.Item("G2"
(Recordset1.Fields.Item("G4"
Response.write (session("dogtotal1"
%>
</strong> </font> | Points Grant Total <font color="#FF0000"> <strong>
<%
Dim RSgtot
Dim RSgtot_numRows
session("Gtotal"
Set RSgtot = Server.CreateObject("ADODB.Recordset"
RSgtot.ActiveConnection = MM_sbt_STRING
RSgtot.Source = "SELECT * FROM shows1 WHERE kcname = '" + Replace(Recordset1.Fields.Item("kcname"
RSgtot.CursorType = 0
RSgtot.CursorLocation = 2
RSgtot.LockType = 1
RSgtot.Open()
RSgtot_numRows = 0
RSgtot.movefirst
DO WHILE NOT RSgtot.EOF
IF (RSgtot.Fields.Item("kcname"
session("Gtotal"
EXIT DO
END IF
RSgtot.movenext
LOOP
Response.write (session("Gtotal"
</strong> </font> </font></p>
<p><font color="#0000FF" face="Arial, Helvetica, sans-serif">Dogs
Entered: <font color="#FF0000"><strong><%=(Recordset1.Fields.Item("entered"
/ Prefix:</font><font color="#FF0000" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("affix"
<p><font face="Arial, Helvetica, sans-serif"><A HREF="details2.asp?<%= MM_keepBoth & MM_joinChar(MM_keepBoth) & "kcname=" & Recordset1.Fields.Item("kcname"
All Shows Recorded's That </A></font><font color="#FF0000" face="Arial, Helvetica, sans-serif"><strong><%=(Recordset1.Fields.Item("kcname"
Been Entered For So Far</A> </font></p>
</form>
<font color="#FFFFFF" face="Arial, Helvetica, sans-serif"> </font></div></td>
</tr>
</table>
<a href="index.asp"><font face="Arial, Helvetica, sans-serif">Back To Main Page</font></a>
<p><a href="../forum/default.asp"><img src="../banner/bbs_banner1.png" width="610" height="123" border="0"></a></p>
</div>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
<%
RSgtot.Close()
Set RSgtot = Nothing
%>