I ran across this in comments to other questions. What does "post that part of the script" mean? I am not familiar with the term (post) in this context.
Main Topics
Browse All TopicsI have an ultradev 'Results' page that comes up with the same error whenever I bring it up in a browser. The complete error message follows:
--------------------------
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record.
/waternet/projects/Detail.
--------------------------
I have narrowed this problem down as being linked to a Repeat region behavior on the page. There is a UD table on the page that contains the repeat region. When this page is displayed on the web, the error message always follows the table with the repeat region and the rest of the data on the page will not display. If I remove the Repeat region behavior, the data on the page displays fine, but I do not get the repeating that is needed. Does anyone know the cause of this?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Is this enough? This is all from the table that contains the repeat region.
<td width="50%"><font face="Arial, Helvetica, sans-serif"><b><A HREF="PIDetail.asp?<%= MM_keepURL & MM_joinChar(MM_keepURL) & "id=" & rsDetail.Fields.Item("PIID
<tr bgcolor="ddeeee">
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.Fields.Item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
</tr>
<%
Repeat1__index=Repeat1__in
Repeat1__numRows=Repeat1__
rsDetail.MoveNext()
Is this enough? This is all from the table that contains the repeat region.
<td width="50%"><font face="Arial, Helvetica, sans-serif"><b><A HREF="PIDetail.asp?<%= MM_keepURL & MM_joinChar(MM_keepURL) & "id=" & rsDetail.Fields.Item("PIID
<tr bgcolor="ddeeee">
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.Fields.Item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
</tr>
<%
Repeat1__index=Repeat1__in
Repeat1__numRows=Repeat1__
rsDetail.MoveNext()
Is this enough? This is all from the table that contains the repeat region.
<td width="50%"><font face="Arial, Helvetica, sans-serif"><b><A HREF="PIDetail.asp?<%= MM_keepURL & MM_joinChar(MM_keepURL) & "id=" & rsDetail.Fields.Item("PIID
<tr bgcolor="ddeeee">
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.Fields.Item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
</tr>
<%
Repeat1__index=Repeat1__in
Repeat1__numRows=Repeat1__
rsDetail.MoveNext()
Is this enough? This is all from the table that contains the repeat region.
<td width="50%"><font face="Arial, Helvetica, sans-serif"><b><A HREF="PIDetail.asp?<%= MM_keepURL & MM_joinChar(MM_keepURL) & "id=" & rsDetail.Fields.Item("PIID
<tr bgcolor="ddeeee">
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.Fields.Item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
</tr>
<%
Repeat1__index=Repeat1__in
Repeat1__numRows=Repeat1__
rsDetail.MoveNext()
Is this enough? This is all from the table that contains the repeat region.
<td width="50%"><font face="Arial, Helvetica, sans-serif"><b><A HREF="PIDetail.asp?<%= MM_keepURL & MM_joinChar(MM_keepURL) & "id=" & rsDetail.Fields.Item("PIID
<tr bgcolor="ddeeee">
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.Fields.Item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
</td>
</tr>
<%
Repeat1__index=Repeat1__in
Repeat1__numRows=Repeat1__
rsDetail.MoveNext()
I think I may have found the problem. fields is a variable name and you have a lower case 'f' in all of them but in the first line below you have a capitol 'F'. Try changing to lower case
<%If (CStr(rsDetail.Fields.Item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.fields.item
If this is not it then I will need the whole code for the page so I can copy and paste it into my UltraDev to get line numbers to narrow it down.
I tried the capitalization and the error remains the same.
I did not include the WHOLE page in order to protect privacy, but I included the beginning stuff and then the whole UD table that includes all the server behaviors and data on the page.
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../../Connections/co
<%
Dim rsDetail__varRptNum
rsDetail__varRptNum = "1"
if (Request.QueryString("RptN
%>
<%
set rsDetail = Server.CreateObject("ADODB
rsDetail.ActiveConnection = MM_connProjects_STRING
rsDetail.Source = "SELECT * FROM qryDetail_new WHERE ReportNum = '" + Replace(rsDetail__varRptNu
rsDetail.CursorType = 0
rsDetail.CursorLocation = 2
rsDetail.LockType = 3
rsDetail.Open()
rsDetail_numRows = 0
%>
<%
Dim Repeat1__numRows
Repeat1__numRows = -1
Dim Repeat1__index
Repeat1__index = 0
rsDetail_numRows = rsDetail_numRows + Repeat1__numRows
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "="
MM_keepURL="":MM_keepForm=
' add the URL parameters to the MM_keepURL string
For Each Item In Request.QueryString
NextItem = "&" & Item & "="
If (InStr(1,MM_removeList,Nex
MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.Q
End If
Next
' add the Form variables to the MM_keepForm string
For Each Item In Request.Form
NextItem = "&" & Item & "="
If (InStr(1,MM_removeList,Nex
MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.F
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)
if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
' 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
%>
<html>
<head>
<title>Project Details</title>
<script language="JavaScript">
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#CC6600" width="100%">
<tr valign="top">
<td valign="top" width="10"><img src="../../images/blank.gi
<td valign="top" align="left" colspan="2">
<h2 align="center"><font face="Arial, Helvetica, sans-serif"><br>
<font color="ffe9bb">Project Details for Report Number</font><font color="#FFFFFF">
<font color="#660000"><b><%=(rsD
<br>
</b></font></font></font><
</td>
<td width="10"><img src="../../images/blank.gi
</tr>
<tr valign="top">
<td valign="top" width="10" height="768"> </td>
<td valign="top" align="center" colspan="2" height="768">
<table width="80%" border="0" cellpadding="3" align="center" bgcolor="ffe9bb" bordercolor="cc3300" height="741">
<tr>
<td>
<table width="90%" border="0" cellpadding="3" align="center" cellspacing="3" bgcolor="#999999">
<tr bgcolor="99cccc">
<td width="20%">
<div align="left"><font face="Arial, Helvetica, sans-serif"><b>Project
Title</b></font></div>
</td>
<td width="80%" bgcolor="ddeeee">
<div align="left"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
</td>
</tr>
</table>
<div align="center"><font face="Arial, Helvetica, sans-serif"><br>
</font>
<table width="90%" border="0" cellpadding="3" cellspacing="3" bgcolor="#999999">
<tr>
<td valign="top" width="20%" height="30" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>Center
Program</b></font></td>
<td valign="top" colspan="3" height="30" bgcolor="ddeeee">
<p><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
</font></p>
</td>
</tr>
<tr>
<td valign="top" width="20%" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>Begin
Date</b></font></td>
<td valign="top" width="30%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
<td valign="top" width="20%" bgcolor="#99CCCC"><font face="Arial, Helvetica, sans-serif"><b>Year
Published</b></font></td>
<td valign="top" width="30%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
</tr>
<tr>
<td valign="top" width="20%" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>End
Date</b></font></td>
<td valign="top" width="30%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
<td valign="top" width="20%" bgcolor="#99CCCC"><font face="Arial, Helvetica, sans-serif"><b>Pages</b></
<td valign="top" width="30%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
</tr>
</table>
<font face="Arial, Helvetica, sans-serif"><br>
</font>
<table width="90%" border="0" cellpadding="3" align="center" bgcolor="#999999" cellspacing="3">
<tr bgcolor="99cccc">
<td bgcolor="99cccc" width="50%"><b><font face="Arial, Helvetica, sans-serif">Partner
<br>
</font></b></td>
<td width="17%"><b><font face="Arial, Helvetica, sans-serif">Principal
Investigator?</font></b></
<td width="17%"><b><font face="Arial, Helvetica, sans-serif">Advisor?</font
<td width="17%"><b><font face="Arial, Helvetica, sans-serif">Graduate
Student?</font></b></td>
</tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT rsDetail.EOF))
%>
<tr bgcolor="ddeeee">
<td width="50%"><font face="Arial, Helvetica, sans-serif"><b><a href="PIDetail.asp?<%= MM_keepURL & MM_joinChar(MM_keepURL) & "id=" & rsDetail.Fields.Item("PIID
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.Fields.Item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.Fields.Item
</td>
<td width="17%"><font face="Arial, Helvetica, sans-serif"></font>
<%If (CStr(rsDetail.Fields.Item
</td>
</tr>
<%
Repeat1__index=Repeat1__in
Repeat1__numRows=Repeat1__
rsDetail.MoveNext()
Wend
%>
</table>
<font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div align="center">
<table width="90%" border="0" cellpadding="3" cellspacing="3" bgcolor="#999999">
<tr>
<td valign="top" width="20%" height="28" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>Abstract</b
<td height="28" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
</tr>
</table>
<p> </p>
<table width="90%" border="0" cellpadding="3" cellspacing="3" bgcolor="#999999">
<tr>
<td width="20%" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>Watershed</
<td width="39%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
<td width="12%" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>Latitude</b
<td width="31%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
</tr>
<tr>
<td width="20%" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>HUC</b></fo
<td width="39%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
<td width="12%" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>Longitude</
<td width="31%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
</tr>
<tr>
<td width="20%" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>Web
Link</b></font></td>
<td width="39%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><a href="<%=(rsDetail.Fields.
<td width="12%" bgcolor="99cccc"><font face="Arial, Helvetica, sans-serif"><b>Notable
Achievements</b></font></t
<td width="31%" bgcolor="ddeeee"><font face="Arial, Helvetica, sans-serif"><%=(rsDetail.F
</tr>
</table>
<br>
<p><font face="Arial, Helvetica, sans-serif"><a href="search.asp"><b>New
Search</b></a></font></p>
</div>
<p align="center"><b><font face="Arial, Helvetica, sans-serif"><a href="browse.asp">Browse
Projects</a><br>
</font></b></p>
</td>
</tr>
</table>
<p> </p>
</td>
<td width="10" height="768"> </td>
</tr>
</table>
For good reason you only gave me to line 226 but the error is on 396. What exactly do you have on line 326?
the possible problems for the error message you are getting (below) are:
1) One of you records has empty field.
2) You are not using a while(there are records) loop (similar to that of While ((Repeat1__numRows <> 0) AND (NOT rsDetail.EOF)) from the script you provided) If this is the case then it's trying to retrieve addition records that does not exist
3) You deleted a record and the id does not exist, to remedy this you need to use something similar to:
if(query){do something}
The Repeat1__index=Repeat1__in
select * from table where id = Repeat1_index
because if you have delete a record (for example record id 3) when the loop gets to 3 you will get an error:
select * from table where id = 3
this would return null causing an error in your script.
--------------------------
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application
requires a current record.
/waternet/projects/Detail.
--------------------------
Hope this helps
What you do to delete this questions and restore your points is go to the community area:
http://www.experts-exchang
and submit a 0 point question and request to have this question deleted. Provide this link and they will review the question and return your points.
Business Accounts
Answer for Membership
by: andrivPosted on 2002-03-29 at 07:20:44ID: 6905109
Post that part of the script