R
Roger Stenson
Hi
I am writing a Class Module in VB6.
With each of the main methods I begin by opening the required recordsets,
and as I leave the method I close them, with a statement as follows.
"If rsOutput.State = adStateOpen Then rsOutput.Close"
All of them close successfully except the one whose closure statement is
identified above. The closure generates error code 3219 which indicates
that closure is illegal in the circumstances. The particular recordset has a
State = 1 and a Status = 0 when the above instruction is executed. All of
the code in the method seems to have executed correctly and the Output file
contains the expected records
I have never encountered this message bore and searching the through the
vb6 documentation and an Ado Reference Manual gives me no help. I would be
grateful if someone could help me discover the potential reasons that will
render a recordset closure illegal.
With thanks in anticipation
Roger Stenson
I am writing a Class Module in VB6.
With each of the main methods I begin by opening the required recordsets,
and as I leave the method I close them, with a statement as follows.
"If rsOutput.State = adStateOpen Then rsOutput.Close"
All of them close successfully except the one whose closure statement is
identified above. The closure generates error code 3219 which indicates
that closure is illegal in the circumstances. The particular recordset has a
State = 1 and a Status = 0 when the above instruction is executed. All of
the code in the method seems to have executed correctly and the Output file
contains the expected records
I have never encountered this message bore and searching the through the
vb6 documentation and an Ado Reference Manual gives me no help. I would be
grateful if someone could help me discover the potential reasons that will
render a recordset closure illegal.
With thanks in anticipation
Roger Stenson