jakke18
Legacy Member
Ik krijg altijd dezelfde fout:
ADODB.Recordset error '800a0cb3'
Current Recordset does not support bookmarks. This may be a limitation of the provider or of the selected cursortype.
De fout ligt bij de laatste regel
<%
set rst1 = Server.CreateObject("ADODB.Recordset")
rst1.open "select tblbericht.*,tblpersoon.* from tblbericht inner join tblpersoon on tblbericht.persid=tblpersoon.persid where tblbericht.topicID=" & intTopic & " order by tblbericht.berichtID",cnn,1,3
if Request.QueryString("pagina") = "" Then
huidigePagina = 1
Else
huidigePagina = CInt(Request.QueryString("pagina"))
End if
rst1.PageSize= 10
aantalPaginas= rst1.PageCount
if huidigePagina > aantalPaginas Then
huidigePagina = aantalPaginas
End if
if huidigePagina < 1 Then
huidigePagina = 1
End if
rst1.AbsolutePage = huidigePagina
ik heb alles al geprobeerd, cursortype verandert. Vele zeggen dat ik dit moet toevoegen: rst1.CursorLocation = adUseServer maar dat kent hij helemaal niet.
Men hosting bedrijf is sohosted.com als dat relevant zou moeten zijn...
ADODB.Recordset error '800a0cb3'
Current Recordset does not support bookmarks. This may be a limitation of the provider or of the selected cursortype.
De fout ligt bij de laatste regel
<%
set rst1 = Server.CreateObject("ADODB.Recordset")
rst1.open "select tblbericht.*,tblpersoon.* from tblbericht inner join tblpersoon on tblbericht.persid=tblpersoon.persid where tblbericht.topicID=" & intTopic & " order by tblbericht.berichtID",cnn,1,3
if Request.QueryString("pagina") = "" Then
huidigePagina = 1
Else
huidigePagina = CInt(Request.QueryString("pagina"))
End if
rst1.PageSize= 10
aantalPaginas= rst1.PageCount
if huidigePagina > aantalPaginas Then
huidigePagina = aantalPaginas
End if
if huidigePagina < 1 Then
huidigePagina = 1
End if
rst1.AbsolutePage = huidigePagina
ik heb alles al geprobeerd, cursortype verandert. Vele zeggen dat ik dit moet toevoegen: rst1.CursorLocation = adUseServer maar dat kent hij helemaal niet.
Men hosting bedrijf is sohosted.com als dat relevant zou moeten zijn...