Current Recordset does not support bookmarks ved kjøring av SP
Hvis jeg kjører en vanlig select så virker scriptet men ikke ved sp, har også testet sp`en så ingen ting er feil på sql spørringen. se kode.....set adoCn = Server.CreateObject("ADODB.Connection")
adoCn.Open strConn
set adoRs = Server.CreateObject("ADODB.Recordset")
strSQL = "sp_" & strInstance & "_IndexNewsList @sp_NewsWPLanguageID=" & strLanguageID & ", @sp_Instance='" & strInstance & "'"
adoRs.Open strSQL, adoCn, 3, 1, &H0001
%>
<table width="611" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" width="611" height="5"></td>
</tr>
<%
If adoRs.EOF Then
%>
<tr>
<td class="heading" width="611" height="15" colspan="2"><img SRC="images/user_defined/images/firkant.gif" height="11" width="11" border="0"> <font color="#D70002"><%=strLNoNews%></font></td>
</tr>
<tr>
<td class="createdof" colspan="2" width="611"> </td>
</tr>
<%
'Gjør så jeg kan gjemme paginging
strLNoNews = True
End if
If not adoRs.EOF Then
ShowPage = CInt(Request.QueryString("ShowPage"))
PageSize = 3
adoRs.PageSize = PageSize
NumOfPages = adoRs.PageCount
If ShowPage < 1 then
ShowPage = 1
ElseIf ShowPage > NumOfPages Then
ShowPage = NumOfPages
End If
adoRs.AbsolutePage = ShowPage
End if
