📄 12485.html
字号:
<html>
<head>
<title>Inbox的Cancel出了问题(求救)!!!</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Inbox的Cancel出了问题(求救)!!!</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:cloudyland@yahoo.com">Cloudyland</a> on April 29, 1999 at 21:31:48:<p>
请问以下的程式里有什么问题?当出了Inbox后,如果我有输入任何东西后按OK,它会如常进行;但如果我按下Cancel时,它会话我的程式出错(不论我有没有输入任何东西。请帮忙!<p>Private Sub cmdSearch_Click()<br>Dim strID As String<br>strID = InputBox("Input I.D.:", "I.D.")<br>If strID <> "" Then<br>frmApplicationForm.datAF.Recordset.FindFirst "ID = " & "'" & strID &<br>"'"<br>End If<br>If frmApplicationForm.datAF.Recordset.NoMatch Then<br>MsgBox "Not Found(" & strID & ") this ID!"<p>strID = InputBox("Input I.D.:", "I.D.")<p>else<p>frmApplicationForm.show<p>datAF.Recordset.FindFirst "ID = '" & strID & "'"<br>End If<br>End Sub<p>thank you!!
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 12485-->
<!--top: 12491--><li><a href="12491.html">Re: Answer for "login"</a> <b>Spencer Yang</b> <i>00:43:45 4/30/99</i>
(<!--responses: 12491-->0)
<ul><!--insert: 12491-->
</ul><!--end: 12491-->
</ul><!--end: 12485-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -