6627.html

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

HTML
31
字号
<html>
  <head>
    <title>Re: 再问两个 table 都指到同样的 recordset</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: 再问两个 table 都指到同样的 recordset</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:cchemail@tpts5.seed.net.tw">Chuang</a> on October 21, 1998 at 02:21:24:<p>
In Reply to: <a href="6607.html">两个 table 都指到同样的 recordset</a> posted by 小吴 on October 20, 1998 at 07:47:05:<p>
: 重新说明:<br>: AForm 中使用 table :dept 仅作 find 用找出recordset.field(1)的value<br>: AForm 中主要 talbe :man 可作上下笔&增&删&改动作<br>: BForm 中亦同样使用 table :dept 但需作 recordset.addnew & recordset.edit<br>: AForm 呼叫 BForm<br>: BForm.show <br>: 在BForm中做 <br>: dept.recordset.edit<br>: dept.reocrdset.update<br>: dept.refresh<br>: AForm.dept.refresh<br>: unload Bform<br>: Aform.show<br>: 已试过您所教的方法在Form_load()中设定<br>: set BForm.dept.recordset=AForm.dept.recordset<br>: 但结果相同,不过经反复测试结果在AForm 中若未使用<br>: man.recordset.movenext 前,dept内的资料确实已有更新<br>: 但当move record 后,dept内的资料确又恢复原状(新增资料除外)<br>: 不知那里错了?真伤脑筋<br>: 又当 set Bform.dept.recordest=Aform.dept.recordset 时<br>: 此时两个Form中dept所使用的是同一个buffer,还是各自为政呢?<p>: 再次感谢您!小吴 Thank's<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 6627-->
<!--top: 6630--><li><a href="6630.html">其实本来就很难达到你的需求</a> <b>小吴</b> <i>07:48:51 10/21/98</i>
(<!--responses: 6630-->1)
<ul><!--insert: 6630-->
<!--top: 6674--><li><a href="6674.html">利用Snapsnot 解决了问题</a> <b>Chuang</b> <i>04:53:54 10/22/98</i>
(<!--responses: 6674-->0)
<ul><!--insert: 6674-->
</ul><!--end: 6674-->
</ul><!--end: 6630-->
</ul><!--end: 6627-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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