5867.html

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

HTML
30
字号
<html>
  <head>
    <title>救救我!怎样在DBGrid中究找取其他资料库的资料</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>救救我!怎样在DBGrid中究找取其他资料库的资料</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:ivan@skypage.com.hk">金田七</a> on September 22, 1998 at 00:02:54:<p>
假设我的DBGrid的DataSource是A.mdb中的资料库A,而其中的Field-1是关联到A.mdb资料库B中的Field-A(主索引),而Field-A<br>的字串长度为8. 请问如何写法才可以每当输入一个特定字串长度,到Field-1时,便可将资料库B中的其余栏位找到DBGrid中,<br>并且令Focus转到新的一行Field-1呢? 是利用SQL + Len属性及SetFocus属性吗? 请小吴及各方高人多多指教!不胜感激!
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 5867-->
<!--top: 6044--><li><a href="6044.html">Re: 救救我!怎样在DBGrid中究找取其他资料库的资料</a> <b>james chen</b> <i>01:27:35 9/27/98</i>
(<!--responses: 6044-->1)
<ul><!--insert: 6044-->
<!--top: 6060--><li><a href="6060.html">Re: 救救我!怎样在DBGrid中究找取其他资料库的资料</a> <b>老怪</b> <i>17:48:53 9/27/98</i>
(<!--responses: 6060-->0)
<ul><!--insert: 6060-->
</ul><!--end: 6060-->
</ul><!--end: 6044-->
</ul><!--end: 5867-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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