16192.html

来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 22 行

HTML
22
字号
<html>
  <head>
    <title>救命啊..vb一段程式码,,看不懂也..</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>救命啊..vb一段程式码,,看不懂也..</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:fei@ms12.url.com.tw">小丸子</a> on July 26, 1999 at 14:33:59:<p>
表单form1.frm<br>Private Function getNetNo(mtype As Integer) As Long<br>    getNetNo = gNetNo(mtype) + 1<br>    gNetNo(mtype) = gNetNo(mtype) + 1<br>    Debug.Print gNetNo(mtype)<br>    sSQL = "UPDATE TERM SET NetNo=" + Format$(gNetNo(mtype))<br>    sSQL = sSQL + " WHERE SysID='WEB' AND [TermNo]='" + Format$(mtype) + "'"<br>    gDB.Execute sSQL<br>End Function<p><br>物件类别模组 order.cls<br>Private Sub FindNextNetNo(mtype$, NetNo_N&)<br>    On Error Resume Next<p>    Dim ds As Recordset, sSQL$, idx%<br>    NetNo_N = Form1.getNetNo(CInt(mtype))<br>                       ^^^^^^^^^^^^^^^^^^<br>                      这里为什么会错呢???(找不到方法或资料成员)<br>End Sub<p>谢谢<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 16192-->
</ul><!--end: 16192-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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