:: Forum >> Version 2 >>

Bug ?

Hi.
Tree grid work is correct without rs.close ?

function testTree(){
var 
cn = new ActiveXObject("ADODB.Connection");
var 
strConn "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\\Test\\db1.mdb;Persist Security Info=False";
            
cn.Open(strConn);
var 
rs = new ActiveXObject("ADODB.Recordset");
var 
SQL "update  .....";
            
rs.Open(SQLcn); 
//            rs.Close();    // BUG!
            
cn.Close(); 
        }
.................................
obj.onItemValueChanged= function(valuei) { 
    if (
obj.getItemValue(i)== true) {
testTree();
}
else
{
testTree();
}
}  
Thanks.
Igor K.
Thursday, August 30, 2007
Not sure what are you saying - is it correct with or without rs.Close() call?
Alex (ActiveWidgets)
Friday, August 31, 2007
Hi, Alex!
Sorry!
I am saying - is it correct without rs.Close() call.

Thanks.
Igor K.
Monday, September 3, 2007
I think that might be ok - when you close connection the recordset is closed automatically (I guess).
Alex (ActiveWidgets)
Monday, September 3, 2007
Ok!
Thanks.
Igor K.
Monday, September 3, 2007
I think that You don't understand me.
Tree grid dsn't work correct with rs.close call.

Thanks.
Igor K.
Monday, September 3, 2007



This topic is archived.

Back to support forum

Forum search