5832.html

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

HTML
31
字号
<html>
  <head>
    <title>试试看 Join</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>试试看 Join</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:yfwu@iname.com">小吴</a> on September 21, 1998 at 07:42:07:<p>
In Reply to: <a href="5813.html">有关 SQL 的一个问题?</a> posted by kkcheung on September 20, 1998 at 10:39:02:<p>
如果你的目的只是为了取得 cust_name 的话,你可以试看看 join。<br>temp_st1="select A.cust_code, B.cust_name from sale_rec A, customer B where date='19980912' AND A.cust_code=B.cust_code"<br>tempset1=db.openrecordset (temp_st1)<p>while not tempset1.eof<br>temp_d1=tempset1!cust_code<br>temp_d2=tempset1!cust_name<p>tempset1.movenext<br>wend<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 5832-->
<!--top: 5838--><li><a href="5838.html">Re: 试试看 Join</a> <b>kkcheung</b> <i>09:55:41 9/21/98</i>
(<!--responses: 5838-->1)
<ul><!--insert: 5838-->
<!--top: 5980--><li><a href="5980.html">Re: 试试看 Join</a> <b>David Wong</b> <i>14:03:24 9/24/98</i>
(<!--responses: 5980-->0)
<ul><!--insert: 5980-->
</ul><!--end: 5980-->
</ul><!--end: 5838-->
</ul><!--end: 5832-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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