4310.html

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

HTML
26
字号
<html>
  <head>
    <title>请教原因</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>请教原因</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:jan@mail.thinking.com.tw">jan</a> on August 01, 1998 at 16:11:38:<p>
当我在程序中如下宣告,且呼叫副程式find_acnm()时<br> dim macnm,macno, mstr as string<p> find_acnm(macno)<p>于编译时出现"编译错误 ByRef引数型态不合" 之错误讯息<p>有时, 我把macno变数移至第一个会过<br>  dim macno,macnm,mstr as string<p>有时又不行, 我把它独立宣告后就可以<br>  dim macno as string<br>  dim macnm,mstr as string<p><br>1. 请问各位高手们原因为何?<br>2. 可以于form一般区中如此宣告吗?<br>   dim rs1,rs2 as recordset<br>   dim db1,db2 as database<br>   
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 4310-->
<!--top: 4327--><li><a href="4327.html">Re: 请教原因</a> <b>ㄚ吉</b> <i>14:47:30 8/02/98</i>
(<!--responses: 4327-->0)
<ul><!--insert: 4327-->
</ul><!--end: 4327-->
</ul><!--end: 4310-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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