Bug ?
Hi.
Tree grid work is correct without rs.close ?
Thanks.
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,