I sometimes use the ADODC control for binding data to AX controls. I am trying to make things more efficient, and only open the adodc recordset as needed. I want to first make sure what the .state property is at before I open/close it because someone thought that should be an error, instead of just ignoring it if it was already open/close. Trouble is you cannot write:
if ado.recordset.state = 1 then
if it is closed, since the recordset object does not exist. Any ideas on this?
Thanks
if ado.recordset.state = 1 then
if it is closed, since the recordset object does not exist. Any ideas on this?
Thanks