Piek444
05-11-2003, 07:19 AM
can someone help about this error msg?
Error Type:
ADODB.Recordset (0x800A0CB3)
Current Recordset does not support bookmarks. This may be a limitation of the provider or of the selected cursortype.
i just try this simple bookmark, but it cant work, why?
<%
gstrConn="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MBizLine;Data Source=totustuus;uid=sa"
set adoConn = server.CreateObject("ADODB.Connection")
if adoConn is nothing then
Err.Raise RTN_ERROR, "OpenConn", "Unable to create connection object!"
else
adoConn.Open gstrConn
end if
set rs = Server.CreateObject("ADODB.recordset")
sql="SELECT User_name FROM tbuser"
rs.Open sql, gstrconn
rs.movefirst
bkmark = rs.bookmark
rs.movelast
rs.bookmark = bkmark
%>
tq for ur help :>
Error Type:
ADODB.Recordset (0x800A0CB3)
Current Recordset does not support bookmarks. This may be a limitation of the provider or of the selected cursortype.
i just try this simple bookmark, but it cant work, why?
<%
gstrConn="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MBizLine;Data Source=totustuus;uid=sa"
set adoConn = server.CreateObject("ADODB.Connection")
if adoConn is nothing then
Err.Raise RTN_ERROR, "OpenConn", "Unable to create connection object!"
else
adoConn.Open gstrConn
end if
set rs = Server.CreateObject("ADODB.recordset")
sql="SELECT User_name FROM tbuser"
rs.Open sql, gstrconn
rs.movefirst
bkmark = rs.bookmark
rs.movelast
rs.bookmark = bkmark
%>
tq for ur help :>