In the Click event for the Comando50 button on the startup form of the attached mdb, I'm trying to use the line
If rst.State = adStateOpen Then rst.Close
but I get the
Ado runtime error 3219: The operation requested by the application is not allowed in this context.
when the code executes that line.
How do you then close recordsets left open?
(The rst recordset is left open if I try inserting a date that's already present)
If rst.State = adStateOpen Then rst.Close
but I get the
Ado runtime error 3219: The operation requested by the application is not allowed in this context.
when the code executes that line.
How do you then close recordsets left open?
(The rst recordset is left open if I try inserting a date that's already present)