Den laver vist fis med mig *GG*
Jeg får denne fejl hvergang denne Funktion bliver kørtADODB.Recordset fejl '800a0bb9'
The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.
/include/MainSearch.asp, linje 71
Og dette er Funktionen
Function BuildHTMLTable(catID)
Dim strTemp, nRows, nColumns, i
If blnRecordFound = True Then
rs.PageSize = intShowHowManyRecs
PageCount = rs.PageCount
rs.AbsolutePage = PageNo
For nRows = 1 To rs.PageSize
NewDate = DateAdd("d", CInt(Application("DAYSTOSHOWNEWICON")), rs("SiteAdded"))
strTemp = strTemp & "<b><a href=""redirect.asp?CAT=" & rs(catID) & "&ID=" & rs(0) & "&KW=" & Server.URLEncode(Request("strKeywords")) & """ target=" & Application("LINKTARGET") & ">" & rs(1) & "</a></b>"
If Application("SHOWNEWDESIGNATION") <> "OFF" Then
If NewDate > Date() Then
strTemp = strTemp & " <img src=""images/new2.gif"" width=""28"" height=""11"" ALT=""New"">"
End If
End If
strTemp = strTemp & "<br>" & rs("SiteDescription")
If Application("SHOWDATEADDED") <> "OFF" Then
strTemp = strTemp & "<br><b>Date Added: <i>" & rs("SiteAdded") & "</i></b>"
End If
strTemp = strTemp & "<p>"
i = i + 1
rs.MoveNext
If rs.Eof Then
Exit For
End If
Next
End If
intRecsDisplayed = i
BuildHTMLTable = BuildSearchCriteria(intRecsDisplayed) & strTemp & BuildPageThroughRecs
End Function
