I am updating my programs to use ADO. I have bound my ADO recordset to a datagrid and allow the recordset to be updated automatically. The problem is after an update in the grid- the next time I try to close the recordset and open it for another select, I get error 3219 "operation not allowed in this context". I added code found in this forum
If rst2.State = adStateOpen Then rst2.Close
but I still get the error on the rst2.close. The rst2.State value comes back as one, but it won't close the recordset. Any ideas?
If rst2.State = adStateOpen Then rst2.Close
but I still get the error on the rst2.close. The rst2.State value comes back as one, but it won't close the recordset. Any ideas?