11443.html

来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 30 行

HTML
30
字号
<html>
  <head>
    <title>求救!!急!! VB6使用ADO如何锁定SQL7.0的资料 ??</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>求救!!急!! VB6使用ADO如何锁定SQL7.0的资料 ??</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:teck@ms26.url.com.tw">cst</a> on March 28, 1999 at 22:50:24:<p>
请问各位先进:<p>当多人同时读取某一笔资料录时,VB如何把该笔记录锁定,不让其他人存取??<br>必须使用悲观锁定法!!<br>我试过以下方法,可是都不行:-<br>ADODC1.CursorLocation = adUseServer<br>RS.Open "Select * from custom",ADODC1 , adDynamic, adLockPermistic<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 11443-->
<!--top: 11468--><li><a href="11468.html">Re: 求救!!急!! VB6使用ADO如何锁定SQL7.0的资料 ??</a> <b>cst</b> <i>16:49:19 3/29/99</i>
(<!--responses: 11468-->0)
<ul><!--insert: 11468-->
</ul><!--end: 11468-->
<!--top: 11449--><li><a href="11449.html">改个方式</a> <b>cww</b> <i>08:08:56 3/29/99</i>
(<!--responses: 11449-->0)
<ul><!--insert: 11449-->
</ul><!--end: 11449-->
</ul><!--end: 11443-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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