5919.html

来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 30 行

HTML
30
字号
<html>
  <head>
    <title>How to use rdoConnection as Variant?</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>How to use rdoConnection as Variant?</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:haof@263.net">Eager</a> on September 23, 1998 at 10:31:50:<p>
I want to make severial rdoConnections as Variant. That means I can operate different<br>rdoConnection by it's method such as "RollBackTrans" or "CommitTrans"<p>eg. <br>     Can I use it just like this :  Dim rdoCn As Variant<br>                                    ReDim rdoCn(2)<br>                                    rdoCn(0).BeginTrans<br>                                    rdoCn(1).BeginTrans<br>                                    If clickedFirstUndo=True Then<br>                                        rdoCn(0).RollBackTrans<br>                                    ElseIf clickedSecondUndo=True The<br>                                        rdoCn(1).RollBackTrans<br>                                    End If<br>     Why it open occur Error and Error name is "40002"?<br>     Eager for your answer.<br>     Thank you very much.<br>     Good luck to you.
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 5919-->
<!--top: 5955--><li><a href="5955.html">检查 rdoErrors </a> <b>小吴</b> <i>08:09:07 9/24/98</i>
(<!--responses: 5955-->1)
<ul><!--insert: 5955-->
<!--top: 6335--><li><a href="6335.html">Re: 检查 rdoErrors </a> <b>send a Error message to you for help</b> <i>15:31:34 10/08/98</i>
(<!--responses: 6335-->0)
<ul><!--insert: 6335-->
</ul><!--end: 6335-->
</ul><!--end: 5955-->
</ul><!--end: 5919-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?