# How to use rdoConnection as Variant?

Posted by Eager on September 23, 1998 at 10:31:50:

I want to make severial rdoConnections as Variant. That means I can operate different
rdoConnection by it's method such as "RollBackTrans" or "CommitTrans"

eg.
Can I use it just like this : Dim rdoCn As Variant
ReDim rdoCn(2)
rdoCn(0).BeginTrans
rdoCn(1).BeginTrans
If clickedFirstUndo=True Then
rdoCn(0).RollBackTrans
ElseIf clickedSecondUndo=True The
rdoCn(1).RollBackTrans
End If
Why it open occur Error and Error name is "40002"?
Eager for your answer.
Thank you very much.
Good luck to you.

Follow Ups:

- ¼ì²é rdoErrors Ð¡Îâ 08:09:07 9/24/98 (1)
  - Re: ¼ì²é rdoErrors send a Error message to you for help 15:31:34 10/08/98 (0)