I am using SQL 2000
The _ScriptLibrary/Recordset.a
Here is some of the code from the recordset that it is having a problem with...
<SCRIPT LANGUAGE="JavaScript" RUNAT="server">
function _setParametersRecordset1()
{
Recordset1.setParameter(0,
}
function _initRecordset1()
{
Recordset1.advise(RS_ONBEF
var DBConn = Server.CreateObject('ADODB
DBConn.ConnectionTimeout = Application('Database_Conn
DBConn.CommandTimeout = Application('Database_Comm
DBConn.CursorLocation = Application('Database_Curs
DBConn.Open(Application('D
var cmdTmp = Server.CreateObject('ADODB
var rsTmp = Server.CreateObject('ADODB
cmdTmp.ActiveConnection = DBConn;
rsTmp.Source = cmdTmp;
cmdTmp.CommandType = 1;
cmdTmp.CommandTimeout = 10;
cmdTmp.CommandText = 'select * from table where field = ?';
rsTmp.CacheSize = 10;
rsTmp.CursorType = 3;
rsTmp.CursorLocation = 3;
rsTmp.LockType = 3;
Recordset1.setRecordSource
Recordset1.open();
if (thisPage.getState('pb_Rec
Recordset1.setBookmark(thi
}
function _Recordset1_ctor()
{
CreateRecordset('Recordset
}
function _Recordset1_dtor()
{
Recordset1._preserveState(
thisPage.setState('pb_Reco
}
</SCRIPT>
Thanks.
Main Topics
Browse All Topics





by: fruhjPosted on 2006-05-17 at 15:09:40ID: 16704237
Are you using an access database?
Can you paste some additional code - I'd like to see the connection string and the other code around line 636