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("create_dt"
),ucase(search_criteria)) <> 0 then %>
<td valign="top">{Date Created & N}</td>
<%
pos=InStr(Ucase(rsf("create_dt"
),Ucase(search_criteria))
chunk=Mid(rsf("create_dt"
,pos,Len(search_criteria))
pos2=pos+len(chunk)
pos3=len(rsf("create_dt"
)
string1=mid(rsf("create_dt"
,1,pos-1)
string2=mid(rsf("create_dt"
,pos2,pos3)
MyHighlight=string1 & "<SPAN STYLE=background:#FFFF00>"& chunk &"</SPAN>" & string2%>
<td><%Response.Write (MyHighlight)%></td>
<%else
if rsf("create_dt"
<> empty then
%>
<td valign="top">{Date Created & N}</td>
<td valign="top"><%response.write(rsf("create_dt"
)%><%response.write(" "
end if
end if%>
The error occurs in the first line of the code. Can anyone help?
Thanks,
Amisima
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("create_dt"
<td valign="top">{Date Created & N}</td>
<%
pos=InStr(Ucase(rsf("create_dt"
chunk=Mid(rsf("create_dt"
pos2=pos+len(chunk)
pos3=len(rsf("create_dt"
string1=mid(rsf("create_dt"
string2=mid(rsf("create_dt"
MyHighlight=string1 & "<SPAN STYLE=background:#FFFF00>"& chunk &"</SPAN>" & string2%>
<td><%Response.Write (MyHighlight)%></td>
<%else
if rsf("create_dt"
%>
<td valign="top">{Date Created & N}</td>
<td valign="top"><%response.write(rsf("create_dt"
end if
end if%>
The error occurs in the first line of the code. Can anyone help?
Thanks,
Amisima