|
|
Question : Current Recordset does not support bookmarks
|
|
I want to display a record like 5 record perpage...from mdb file.when i run the code,i got an error below....what is it mean?????
**************************** Error Type: ADODB.Recordset (0x800A0CB3) Current Recordset does not support bookmarks. This may be a limitation of the provider or of the selected cursortype. /spick/pages.asp, line 48 ****************************
line 48: rs.AbsolutePage = PageIndex 'Define what page number on which the current record resides.
|
Answer : Current Recordset does not support bookmarks
|
|
With this;
Set objConn = Server.CreateObject("ADODB.Connection") With objConn .ConnectionString = "DBQ=" & DBName & ";Driver={Microsoft Access Driver (*.mdb)};" .Open End With
Set rs = Server.CreateObject("ADODB.Recordset") With rs .ActiveConnection = objConn .CursorType = 2 .CursorLocation = 3 .LockType = 3 .Source = "SELECT * FROM DAFTARHARTASH01 ORDER BY id_no" .Open End With
|
|
|
|