推 Canboo:錯在ADOFunctions.asp這個檔案 要把這個檔案碼貼出來才知道 04/17 16:40
各位大大請教一個問題,我設計一個頁面是,先輸入值,然後判斷是否正確,
接下來就會更改資料,但有出現問題,程式和錯誤如下:請幫我看看,那裡出錯了
程式
<!-- #include file="ADOFunctions.asp" -->
<hTML>
<table border="2" align="center">
<tr>
<td align=right">輸入識別碼</td>
<td><input type="text" name="123"></td>
<td colspan="1" align="center">
<input type="button" value="確認">
</td>
</tr>
<%
Dim objRS,strSQL
Set objRS= GetSQLRecordset(strSQL, "data.mdb", "Users")
if objrs("123") = objrs("識別碼") then
objrs.update array("進度")
array("收件")
end if
%>
<meta name="generator" content="Namo WebEditor v6.0(Trial)">
<BODY BGCOLOR="#FFFFCC">
</BODY>
</HTML>
錯誤訊息如下:
ADODB.Recordset 錯誤 '800a0bb9'
引數中可能發生類型錯誤、超過可接受的定義範圍、或與其他引數發生衝突。
/credit/ADOFunctions.asp, 列25
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.73.114