Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

exception occurred

Status
Not open for further replies.

amisima

Programmer
Jun 11, 2003
13
CA
Hi,

I am getting this error.

Error Type:
(0x80020009)
Exception occurred

I am using Oracle8. I am getting this error when I try do display a date on my asp page. Here is the code that I am getting the error with.

<%if InStr(ucase(rsf(&quot;create_dt&quot;)),ucase(search_criteria)) <> 0 then %>
<td valign=&quot;top&quot;>{Date Created & N}</td>
<%
pos=InStr(Ucase(rsf(&quot;create_dt&quot;)),Ucase(search_criteria))
chunk=Mid(rsf(&quot;create_dt&quot;),pos,Len(search_criteria))
pos2=pos+len(chunk)
pos3=len(rsf(&quot;create_dt&quot;))
string1=mid(rsf(&quot;create_dt&quot;),1,pos-1)
string2=mid(rsf(&quot;create_dt&quot;),pos2,pos3)
MyHighlight=string1 & &quot;<SPAN STYLE=background:#FFFF00>&quot;& chunk &&quot;</SPAN>&quot; & string2%>
<td><%Response.Write (MyHighlight)%></td>
<%else
if rsf(&quot;create_dt&quot;) <> empty then
%>
<td valign=&quot;top&quot;>{Date Created & N}</td>
<td valign=&quot;top&quot;><%response.write(rsf(&quot;create_dt&quot;))%><%response.write(&quot; &quot;)
end if
end if%>

The error occurs in the first line of the code. Can anyone help?

Thanks,

Amisima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top