3.2.0

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(SQL, cn); 
//            rs.Close();    // BUG!
            cn.Close(); 
        }
.................................
obj.onItemValueChanged= function(value, i) { 
    if (obj.getItemValue(i)== true) {
testTree();
}
else
{
testTree();
}
}


Thanks.
Igor K.
August 30,
Not sure what are you saying - is it correct with or without rs.Close() call?
Alex (ActiveWidgets)
August 31,
Hi, Alex!
Sorry!
I am saying - is it correct without rs.Close() call.

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

Thanks.
Igor K.
September 3,

This topic is archived.

See also:


Back to support forum