Forums
This topic is locked
Repeat region and 800a0bcd error
Posted 23 Jul 2002 06:07:33
1
has voted
23 Jul 2002 06:07:33 Matt Flood posted:
ok I am getting the following error after I get my repeat region data on my page. I get all my data upto and including the repeated region stuff but I can't get any records after my repeat region. I get the following error. Any help would be great. Thanks.ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/java/detail.asp, line 124
Replies
Replied 23 Jul 2002 16:56:38
23 Jul 2002 16:56:38 aegis kleais replied:
This is a common error. It means, given the command you placed on your recordset, no record sets were returned. And contrary to popular belief, that alone does not cause the error. However, when you attempt to write the data to your page from the recordset with no data, you get this error.
What you should do is that in your recordset building section, click the test button. If it returns no data, that's the reason.
To fix this, highlight the areas of the website where it's showing data from this recordset and apply the server behavior of SHOW REGION > IF RECORDSET IS NOT EMPTY.
This way, no data will be displayed (which causes your error) if no data exists.
For reference. .BOF is Beginning of File and .EOF is End of File.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
What you should do is that in your recordset building section, click the test button. If it returns no data, that's the reason.
To fix this, highlight the areas of the website where it's showing data from this recordset and apply the server behavior of SHOW REGION > IF RECORDSET IS NOT EMPTY.
This way, no data will be displayed (which causes your error) if no data exists.
For reference. .BOF is Beginning of File and .EOF is End of File.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 23 Jul 2002 17:40:17
23 Jul 2002 17:40:17 Matt Flood replied:
Ok when I run my test I do get data. When I don't have the repeated region i don't get the error and with the repeated region i do get the error. What I am trying to do is show at the top of the page show account information. in the middle of the page this is where i need my repeated region to show all tax info for the past years. then at the bottom of the page i need to show the final total. With the repeated region in there i don't see my total stuff at the bottom of the page but i do get all of my past tax info. With out the repeated region i get my totals but i only see one year of tax info and i need the multiple years. Below is my code that is failing. Thanks for the help.
<pre id=code><font face=courier size=2 id=code>
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!--#include file="Connections/tax.asp" -->
<%
var Recordset1__MMColParam = "1";
if (String(Request.QueryString("Account"
) != "undefined" &&
String(Request.QueryString("Account"
) != ""
{
Recordset1__MMColParam = String(Request.QueryString("Account"
);
}
%>
<%
var Recordset1 = Server.CreateObject("ADODB.Recordset"
;
Recordset1.ActiveConnection = MM_tax_STRING;
Recordset1.Source = "SELECT * FROM Combined WHERE M_Account = '"+ Recordset1__MMColParam.replace(/'/g, "''"
+ "' ORDER BY M_Account ASC";
Recordset1.CursorType = 0;
Recordset1.CursorLocation = 2;
Recordset1.LockType = 1;
Recordset1.Open();
var Recordset1_numRows = 0;
%>
<%
var Repeat1__numRows = -1;
var Repeat1__index = 0;
Recordset1_numRows += Repeat1__numRows;
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p><%=(Recordset1.Fields.Item("M_Account"
.Value)%></p>
<p> </p>
<table border="1">
<tr>
<td>M_Account</td>
<td>Legal_Desc1</td>
<td>Legal_Desc2</td>
<td>Legal_Desc3</td>
<td>Legal_Desc4</td>
<td>Legal_Desc5</td>
<td>Legal_Opt</td>
<td>Street_Number</td>
<td>Street_Name</td>
<td>Owner</td>
<td>Owner_2</td>
<td>Owner_3</td>
<td>Owner_4</td>
<td>Owner_City</td>
<td>Owner_State</td>
<td>Owner_Zip</td>
<td>Owner_Number</td>
<td>Owner_Freeze_Year</td>
<td>Owner_Exempts_Home</td>
<td>Owner_Exempts_O65</td>
<td>Owner_Exempts_Vet</td>
<td>Owner_Exempts_DHS</td>
<td>Owner_Exempts_Ceil</td>
<td>Owner_Exempts_ABS</td>
<td>Owner_Exempts_Excltype</td>
<td>Owner_Exempts_Taxdef</td>
<td>Owner_Frozen_Levy</td>
<td>Land_Value</td>
<td>AG_Exlusion</td>
<td>Impr_Value</td>
<td>Pers_Prop</td>
<td>Homesite_Value</td>
<td>Appraised_Value</td>
<td>Account</td>
<td>Year</td>
<td>Jurisdiction</td>
<td>Gross_Value</td>
<td>AG_Exclusion</td>
<td>Total_Homesite</td>
<td>Taxable_Value</td>
<td>Levy</td>
<td>Account_Paid</td>
<td>Total_Paid</td>
<td>Date_Paid</td>
<td>Homestead</td>
<td>Over65</td>
<td>Veteran</td>
<td>Disabled</td>
<td>Exempt5</td>
<td>ABS_Exempt</td>
<td>Exclusion_Type</td>
<td>Deferral</td>
<td>Due_Date</td>
<td>Omit_Flag</td>
<td>Split_Pay</td>
<td>Levy_Paid</td>
<td>Levy_Due</td>
<td>M1</td>
<td>Y1</td>
<td>PNI1</td>
<td>Total_ Due1</td>
<td>M2</td>
<td>Y2</td>
<td>PNI2</td>
<td>Total_Due2</td>
<td>M3</td>
<td>Y3</td>
<td>PNI3</td>
<td>Total_Due3</td>
<td>Exempt_Amt</td>
<td>Tax_Rate</td>
<td>T_Account</td>
<td>T_Levy_Paid</td>
<td>T_Levy_Due</td>
<td>T_Total_ Due1</td>
<td>T_Total_Due2</td>
<td>T_Total_Due3</td>
</tr>
<% while ((Repeat1__numRows-- != 0) && (!Recordset1.EOF)) { %>
<tr>
<td><%=(Recordset1.Fields.Item("M_Account"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Legal_Desc1"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Legal_Desc2"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Legal_Desc3"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Legal_Desc4"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Legal_Desc5"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Legal_Opt"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Street_Number"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Street_Name"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_2"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_3"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_4"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_City"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_State"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Zip"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Number"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Freeze_Year"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Exempts_Home"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Exempts_O65"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Exempts_Vet"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Exempts_DHS"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Exempts_Ceil"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Exempts_ABS"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Exempts_Excltype"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Exempts_Taxdef"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Owner_Frozen_Levy"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Land_Value"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("AG_Exlusion"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Impr_Value"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Pers_Prop"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Homesite_Value"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Appraised_Value"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Account"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Year"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Jurisdiction"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Gross_Value"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("AG_Exclusion"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Total_Homesite"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Taxable_Value"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Levy"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Account_Paid"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Total_Paid"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Date_Paid"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Homestead"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Over65"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Veteran"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Disabled"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Exempt5"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("ABS_Exempt"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Exclusion_Type"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Deferral"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Due_Date"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Omit_Flag"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Split_Pay"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Levy_Paid"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Levy_Due"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("M1"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Y1"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("PNI1"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Total_ Due1"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("M2"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Y2"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("PNI2"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Total_Due2"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("M3"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Y3"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("PNI3"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Total_Due3"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Exempt_Amt"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("Tax_Rate"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("T_Account"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("T_Levy_Paid"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("T_Levy_Due"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("T_Total_ Due1"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("T_Total_Due2"
.Value)%></td>
<td><%=(Recordset1.Fields.Item("T_Total_Due3"
.Value)%></td>
</tr>
<%
Repeat1__index++;
Recordset1.MoveNext();
}
%>
</table>
<p> </p>
<p><%=(Recordset1.Fields.Item("M_Account"
.Value)%> </p>
</body>
</html>
<%
Recordset1.Close();
%>
</font id=code></pre id=code>
<pre id=code><font face=courier size=2 id=code>
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!--#include file="Connections/tax.asp" -->
<%
var Recordset1__MMColParam = "1";
if (String(Request.QueryString("Account"

String(Request.QueryString("Account"


Recordset1__MMColParam = String(Request.QueryString("Account"

}
%>
<%
var Recordset1 = Server.CreateObject("ADODB.Recordset"

Recordset1.ActiveConnection = MM_tax_STRING;
Recordset1.Source = "SELECT * FROM Combined WHERE M_Account = '"+ Recordset1__MMColParam.replace(/'/g, "''"

Recordset1.CursorType = 0;
Recordset1.CursorLocation = 2;
Recordset1.LockType = 1;
Recordset1.Open();
var Recordset1_numRows = 0;
%>
<%
var Repeat1__numRows = -1;
var Repeat1__index = 0;
Recordset1_numRows += Repeat1__numRows;
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p><%=(Recordset1.Fields.Item("M_Account"

<p> </p>
<table border="1">
<tr>
<td>M_Account</td>
<td>Legal_Desc1</td>
<td>Legal_Desc2</td>
<td>Legal_Desc3</td>
<td>Legal_Desc4</td>
<td>Legal_Desc5</td>
<td>Legal_Opt</td>
<td>Street_Number</td>
<td>Street_Name</td>
<td>Owner</td>
<td>Owner_2</td>
<td>Owner_3</td>
<td>Owner_4</td>
<td>Owner_City</td>
<td>Owner_State</td>
<td>Owner_Zip</td>
<td>Owner_Number</td>
<td>Owner_Freeze_Year</td>
<td>Owner_Exempts_Home</td>
<td>Owner_Exempts_O65</td>
<td>Owner_Exempts_Vet</td>
<td>Owner_Exempts_DHS</td>
<td>Owner_Exempts_Ceil</td>
<td>Owner_Exempts_ABS</td>
<td>Owner_Exempts_Excltype</td>
<td>Owner_Exempts_Taxdef</td>
<td>Owner_Frozen_Levy</td>
<td>Land_Value</td>
<td>AG_Exlusion</td>
<td>Impr_Value</td>
<td>Pers_Prop</td>
<td>Homesite_Value</td>
<td>Appraised_Value</td>
<td>Account</td>
<td>Year</td>
<td>Jurisdiction</td>
<td>Gross_Value</td>
<td>AG_Exclusion</td>
<td>Total_Homesite</td>
<td>Taxable_Value</td>
<td>Levy</td>
<td>Account_Paid</td>
<td>Total_Paid</td>
<td>Date_Paid</td>
<td>Homestead</td>
<td>Over65</td>
<td>Veteran</td>
<td>Disabled</td>
<td>Exempt5</td>
<td>ABS_Exempt</td>
<td>Exclusion_Type</td>
<td>Deferral</td>
<td>Due_Date</td>
<td>Omit_Flag</td>
<td>Split_Pay</td>
<td>Levy_Paid</td>
<td>Levy_Due</td>
<td>M1</td>
<td>Y1</td>
<td>PNI1</td>
<td>Total_ Due1</td>
<td>M2</td>
<td>Y2</td>
<td>PNI2</td>
<td>Total_Due2</td>
<td>M3</td>
<td>Y3</td>
<td>PNI3</td>
<td>Total_Due3</td>
<td>Exempt_Amt</td>
<td>Tax_Rate</td>
<td>T_Account</td>
<td>T_Levy_Paid</td>
<td>T_Levy_Due</td>
<td>T_Total_ Due1</td>
<td>T_Total_Due2</td>
<td>T_Total_Due3</td>
</tr>
<% while ((Repeat1__numRows-- != 0) && (!Recordset1.EOF)) { %>
<tr>
<td><%=(Recordset1.Fields.Item("M_Account"

<td><%=(Recordset1.Fields.Item("Legal_Desc1"

<td><%=(Recordset1.Fields.Item("Legal_Desc2"

<td><%=(Recordset1.Fields.Item("Legal_Desc3"

<td><%=(Recordset1.Fields.Item("Legal_Desc4"

<td><%=(Recordset1.Fields.Item("Legal_Desc5"

<td><%=(Recordset1.Fields.Item("Legal_Opt"

<td><%=(Recordset1.Fields.Item("Street_Number"

<td><%=(Recordset1.Fields.Item("Street_Name"

<td><%=(Recordset1.Fields.Item("Owner"

<td><%=(Recordset1.Fields.Item("Owner_2"

<td><%=(Recordset1.Fields.Item("Owner_3"

<td><%=(Recordset1.Fields.Item("Owner_4"

<td><%=(Recordset1.Fields.Item("Owner_City"

<td><%=(Recordset1.Fields.Item("Owner_State"

<td><%=(Recordset1.Fields.Item("Owner_Zip"

<td><%=(Recordset1.Fields.Item("Owner_Number"

<td><%=(Recordset1.Fields.Item("Owner_Freeze_Year"

<td><%=(Recordset1.Fields.Item("Owner_Exempts_Home"

<td><%=(Recordset1.Fields.Item("Owner_Exempts_O65"

<td><%=(Recordset1.Fields.Item("Owner_Exempts_Vet"

<td><%=(Recordset1.Fields.Item("Owner_Exempts_DHS"

<td><%=(Recordset1.Fields.Item("Owner_Exempts_Ceil"

<td><%=(Recordset1.Fields.Item("Owner_Exempts_ABS"

<td><%=(Recordset1.Fields.Item("Owner_Exempts_Excltype"

<td><%=(Recordset1.Fields.Item("Owner_Exempts_Taxdef"

<td><%=(Recordset1.Fields.Item("Owner_Frozen_Levy"

<td><%=(Recordset1.Fields.Item("Land_Value"

<td><%=(Recordset1.Fields.Item("AG_Exlusion"

<td><%=(Recordset1.Fields.Item("Impr_Value"

<td><%=(Recordset1.Fields.Item("Pers_Prop"

<td><%=(Recordset1.Fields.Item("Homesite_Value"

<td><%=(Recordset1.Fields.Item("Appraised_Value"

<td><%=(Recordset1.Fields.Item("Account"

<td><%=(Recordset1.Fields.Item("Year"

<td><%=(Recordset1.Fields.Item("Jurisdiction"

<td><%=(Recordset1.Fields.Item("Gross_Value"

<td><%=(Recordset1.Fields.Item("AG_Exclusion"

<td><%=(Recordset1.Fields.Item("Total_Homesite"

<td><%=(Recordset1.Fields.Item("Taxable_Value"

<td><%=(Recordset1.Fields.Item("Levy"

<td><%=(Recordset1.Fields.Item("Account_Paid"

<td><%=(Recordset1.Fields.Item("Total_Paid"

<td><%=(Recordset1.Fields.Item("Date_Paid"

<td><%=(Recordset1.Fields.Item("Homestead"

<td><%=(Recordset1.Fields.Item("Over65"

<td><%=(Recordset1.Fields.Item("Veteran"

<td><%=(Recordset1.Fields.Item("Disabled"

<td><%=(Recordset1.Fields.Item("Exempt5"

<td><%=(Recordset1.Fields.Item("ABS_Exempt"

<td><%=(Recordset1.Fields.Item("Exclusion_Type"

<td><%=(Recordset1.Fields.Item("Deferral"

<td><%=(Recordset1.Fields.Item("Due_Date"

<td><%=(Recordset1.Fields.Item("Omit_Flag"

<td><%=(Recordset1.Fields.Item("Split_Pay"

<td><%=(Recordset1.Fields.Item("Levy_Paid"

<td><%=(Recordset1.Fields.Item("Levy_Due"

<td><%=(Recordset1.Fields.Item("M1"

<td><%=(Recordset1.Fields.Item("Y1"

<td><%=(Recordset1.Fields.Item("PNI1"

<td><%=(Recordset1.Fields.Item("Total_ Due1"

<td><%=(Recordset1.Fields.Item("M2"

<td><%=(Recordset1.Fields.Item("Y2"

<td><%=(Recordset1.Fields.Item("PNI2"

<td><%=(Recordset1.Fields.Item("Total_Due2"

<td><%=(Recordset1.Fields.Item("M3"

<td><%=(Recordset1.Fields.Item("Y3"

<td><%=(Recordset1.Fields.Item("PNI3"

<td><%=(Recordset1.Fields.Item("Total_Due3"

<td><%=(Recordset1.Fields.Item("Exempt_Amt"

<td><%=(Recordset1.Fields.Item("Tax_Rate"

<td><%=(Recordset1.Fields.Item("T_Account"

<td><%=(Recordset1.Fields.Item("T_Levy_Paid"

<td><%=(Recordset1.Fields.Item("T_Levy_Due"

<td><%=(Recordset1.Fields.Item("T_Total_ Due1"

<td><%=(Recordset1.Fields.Item("T_Total_Due2"

<td><%=(Recordset1.Fields.Item("T_Total_Due3"

</tr>
<%
Repeat1__index++;
Recordset1.MoveNext();
}
%>
</table>
<p> </p>
<p><%=(Recordset1.Fields.Item("M_Account"

</body>
</html>
<%
Recordset1.Close();
%>
</font id=code></pre id=code>
Replied 24 Jul 2002 01:24:06
24 Jul 2002 01:24:06 aegis kleais replied:
Well, line 124 of detail.asp doesn't seem to hold any problems. Can you list the code for Connections/tax.asp ?
Usually if the page line with the error and the code line of the page don't match up in some kind of syntax or spelling error, the problem can lie in the includes.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Usually if the page line with the error and the code line of the page don't match up in some kind of syntax or spelling error, the problem can lie in the includes.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 24 Jul 2002 01:29:52
24 Jul 2002 01:29:52 Matt Flood replied:
here is the code below. i am running IIS 5.1 on winxp and dwmx. Can I call you or setup a chat window. I am stumped.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Well, line 124 of detail.asp doesn't seem to hold any problems. Can you list the code for Connections/tax.asp ?
Usually if the page line with the error and the code line of the page don't match up in some kind of syntax or spelling error, the problem can lie in the includes.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> <pre id=code><font face=courier size=2 id=code>
<%
// FileName="Connection_odbc_conn_dsn.htm"
// Type="ADO"
// DesigntimeType="ADO"
// HTTP="false"
// Catalog=""
// Schema=""
var MM_tax_STRING = "dsn=1;"
%>
</font id=code></pre id=code>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Well, line 124 of detail.asp doesn't seem to hold any problems. Can you list the code for Connections/tax.asp ?
Usually if the page line with the error and the code line of the page don't match up in some kind of syntax or spelling error, the problem can lie in the includes.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> <pre id=code><font face=courier size=2 id=code>
<%
// FileName="Connection_odbc_conn_dsn.htm"
// Type="ADO"
// DesigntimeType="ADO"
// HTTP="false"
// Catalog=""
// Schema=""
var MM_tax_STRING = "dsn=1;"
%>
</font id=code></pre id=code>
Replied 24 Jul 2002 01:36:58
24 Jul 2002 01:36:58 aegis kleais replied:
How many recordsets do you have on the page? Is it possible when you went to select the bottom dynamic row of that table that you accidentally highlighted another recordset's data?
Check this out. Macromedia's page on your error code. Basically says what I'm saying: That a recordset is empty.
www.macromedia.com/support/ultradev/ts/documents/ud_bof_eof.htm
Can you tell me what your Recordset Builder looks like? ie, Name:, Connection: SQL Code, Select Tables, Orderby, or are you using ADVANCED VIEW?
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Check this out. Macromedia's page on your error code. Basically says what I'm saying: That a recordset is empty.
www.macromedia.com/support/ultradev/ts/documents/ud_bof_eof.htm
Can you tell me what your Recordset Builder looks like? ie, Name:, Connection: SQL Code, Select Tables, Orderby, or are you using ADVANCED VIEW?
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 24 Jul 2002 01:43:41
24 Jul 2002 01:43:41 Matt Flood replied:
I have one recordset. Name Recodset1 connection tax table combined all columns Filter M_Account = URL Parameter Account sort M_Account Asc. I am using the simple view.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
How many recordsets do you have on the page? Is it possible when you went to select the bottom dynamic row of that table that you accidentally highlighted another recordset's data?
Check this out. Macromedia's page on your error code. Basically says what I'm saying: That a recordset is empty.
www.macromedia.com/support/ultradev/ts/documents/ud_bof_eof.htm
Can you tell me what your Recordset Builder looks like? ie, Name:, Connection: SQL Code, Select Tables, Orderby, or are you using ADVANCED VIEW?
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
How many recordsets do you have on the page? Is it possible when you went to select the bottom dynamic row of that table that you accidentally highlighted another recordset's data?
Check this out. Macromedia's page on your error code. Basically says what I'm saying: That a recordset is empty.
www.macromedia.com/support/ultradev/ts/documents/ud_bof_eof.htm
Can you tell me what your Recordset Builder looks like? ie, Name:, Connection: SQL Code, Select Tables, Orderby, or are you using ADVANCED VIEW?
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 24 Jul 2002 01:45:20
24 Jul 2002 01:45:20 aegis kleais replied:
Well if you want, send me your .ASP page, and database, and db setup info (DSN, Connection String?) and I can test it out locally. (if your db has personal data, make a copy of the db, and remove all tables that have nothing to do with the display of data on this page.)
Make sure the total file size is not over 4.092 MB, or my mail server will reject it.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Make sure the total file size is not over 4.092 MB, or my mail server will reject it.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 24 Jul 2002 01:47:37
24 Jul 2002 01:47:37 Matt Flood replied:
Once I do a repeated region can't i show individual records after that. or after a repeated region it goes to the eof so i can't show anymore data. I know the record is there because I can see M_account when i call it before my repeated region but then i try to show it again after the repeated region and i get the error.
Replied 24 Jul 2002 01:57:52
24 Jul 2002 01:57:52 aegis kleais replied:
Wait a minute. If you're using the data that's IN the repeat region after the repeat region, that may cause the error too. You should make 2 recordsets. One for the repeat and one just to call the data the first time.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 24 Jul 2002 02:05:51
24 Jul 2002 02:05:51 Matt Flood replied:
My data is like 27mb. IN my recordset i have the following data account year tax and total tax. it would look like this
1 2000 20.00 80.00
1 1999 20.00 80.00
1 1998 20.00 80.00
1 1997 20.00 80.00
So I want to show the account number once at the tob then do a repeated region to show the year and the tax for that year and then I want to show once at the bottom thier total tax. If I do a repeated region i get this
1
2000 20.00
1999 20.00
1998 20.00
1997 20.00
eof bof error
If i don't do a repeated region i get this
1
2000 20.00
80.00
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Wait a minute. If you're using the data that's IN the repeat region after the repeat region, that may cause the error too. You should make 2 recordsets. One for the repeat and one just to call the data the first time.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
1 2000 20.00 80.00
1 1999 20.00 80.00
1 1998 20.00 80.00
1 1997 20.00 80.00
So I want to show the account number once at the tob then do a repeated region to show the year and the tax for that year and then I want to show once at the bottom thier total tax. If I do a repeated region i get this
1
2000 20.00
1999 20.00
1998 20.00
1997 20.00
eof bof error
If i don't do a repeated region i get this
1
2000 20.00
80.00
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Wait a minute. If you're using the data that's IN the repeat region after the repeat region, that may cause the error too. You should make 2 recordsets. One for the repeat and one just to call the data the first time.
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 24 Jul 2002 02:15:01
24 Jul 2002 02:15:01 aegis kleais replied:
I think the problem resides in M_Account.
Try removing the line :
<p><%=(Recordset1.Fields.Item("M_Account"
.Value)%></p>
at the top and bottom of the page (leave it in the repeat region area)
Then run the page. What happens?
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Try removing the line :
<p><%=(Recordset1.Fields.Item("M_Account"

at the top and bottom of the page (leave it in the repeat region area)
Then run the page. What happens?
Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 24 Jul 2002 02:40:06
24 Jul 2002 02:40:06 Matt Flood replied:
When i take thos out i have just the repeated region which works fine. I think it might have to do with something with my filtering on the recordset. If i don't filter the recordset it works fine but if i do filter the recordset it doesn't. but if I don't filter my record set then i don't get the right data.
Replied 24 Jul 2002 02:50:58
24 Jul 2002 02:50:58 Matt Flood replied:
I think I got it fixed am now using three different recodsets that go to three diffferent tables one for my account one for my year and tax and the other one for my total. Thanks for your help. I am not sure what was wrong with it. I am going to mess around with it some more. thanks again for your help.