|
-
ASP Search Page (VBScript)
Hi!
Im letting people search my website. To do this, they type a word in
"txtSearch", which passes itīs value on to "sresult.asp".
Im using the following code in "sresult.asp":
<%
dim Sida()
dim iCount
dim objcls
dim lRet
dim sText
sText = request.querystring("txtSearch")
Set objcls = server.CreateObject("frnucls.functions")
lRet = objcls.sokeftertext("\", sText, cint(icount), Sida()) '<-- Error
occurs on this line
redim sida(0)
set objcls = nothing
response.write icount
%>
(Note: frnucls.functions is a class I've created which does the actual
searching)
But I get this error: "Subscript out of range"
Please help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks