11296.html
来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 23 行
HTML
23 行
<html>
<head>
<title>Re: Answer for re-help</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: Answer for re-help</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:cas0865@tpts5.seed.net.tw">spencer yang</a> on March 24, 1999 at 02:36:54:<p>
In Reply to: <a href="11214.html">Re: dbgrid??再帮帮我......</a> posted by 小笨蛋 on March 20, 1999 at 18:16:41:<p>
: 请用较传统方式<br>assumption <br>Field1 Name ' 姓名 <br>Field2 Birthday ' 生日<br>Field3 Address ' 地址 <p>sub findExample()<br> dim strFind as string<br> dim strName as string<br> dim dtmBrithday as date<br> dim strAddress as string <p> strFind = text1.text <br> with data1.Recordset <br> .Findfirst "Name=" & chr(39) & strFind & chr(39)<br> If .NoMatch then <br> MsgBox "No Record for Find"<br> Exit Sub<br> Else <br> strName = .field("Name")<br> dtmBirthday = .field("Birthday")<br> strAddress = .field("Address")<br> End If<br> End With<br>End Sub
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 11296-->
</ul><!--end: 11296-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?