17512.html

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

HTML
23
字号
<html>  <head>    <title>Re: 请问有关Access资料库的问题!!!!</title>  </head>  <body bgcolor="#FFFFFF" vlink="#808080">    <center>      <h1>Re: 请问有关Access资料库的问题!!!!</h1>    </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by Ling on August 19, 1999 at 17:30:59:<p>In Reply to: <a href="17490.html">请问有关Access资料库的问题!!!!</a> posted by Patw on August 19, 1999 at 12:55:11:<p>: 请问一下,我写了一个Access资料库维护的程式...<br>: 1.我想将其中一个栏位能在程式中控制(按一下钮),便将此栏位通通加1,可能做到吗?<br>: 2.还有,我想让搜寻的条件增为两个:<br>: Dim a<br>: Dim b<br>: a = "Select * From 123 Where 456 = '" & Text1.Text "'"<br>: b = "Select * From 123 Where 789 = '" & Text2.Text "'"<br>: Adodc1.CommandType = adCmdText<br>: Adodc1.RecordSource = a And b '就是这里有问题,请问要如何写才好ㄋ?<br>: Adodc1.Refresh<br>: 请会的人教教我吧!在此先谢了!!<p>为何不将Sql指令下成<br>"Select * From 123 Where 456 = '" & Text1.Text "' OR 789 = '" & Text2.Text "'"<br>呢<br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 17512--></ul><!--end: 17512--><br><hr size=7 width=75%><p></body></html>

⌨️ 快捷键说明

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