Link to home
Start Free TrialLog in
Avatar of tyy8
tyy8

asked on

ADO Cnn.Close error

I have a ado connection object(Cnn), I do an .appendchunk on the recordset(rs), and when I try to close the Cnn - I get an error saying I can't explicitly close the Cnn while it is in a transaction, but by that time I have already closed the rs and I'm doing appending.
Avatar of nichdust
nichdust

Try closing the rs after your append then try closing the connection.
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tyy8

ASKER

I'll try the update method.