易截截图软件、单文件、免安装、纯绿色、仅160KB

asp 批量update 问题!

----错误提示--------------

Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'

基于查询的更新失败,因为没发现要更新的行。

/admin/inboundSQL.asp,行 406

-----代码------------------------

If Not PLFHRS.EOF Then
  While Not PLFHRS.EOF 
      PLFHRS("FHSL") = Trim(PLFHRS("SL"))&"="&Trim(PLFHRS("YSCMFB"))
      PLFHRS("FHSJ") = Now()         
      PLFHRS("FHR") = request.Cookies("loginname")
      PLFHRS.update 
      PLFHRS.movenext
  Wend
End If


while 4 次后就会出错!
哪位能帮帮忙,感谢



没人能回答此问题?

上下文贴一下看看,这些代码似乎没错

Set PLFHRS = server.CreateObject("ADODB.recordset")
PLFHRS.open "select FHSL,FHR,FHSJ,SL,YSCMFB from BM_ProcurementSystem where (FHSL='' or FHSL is null) and (FHSJ='' or FHSJ is null) and (YSCMFB <>'' or YSCMFB is not null) and  FLAG <>1 and (RQ between '"&starttime&"' and '"&endtime&"')",conn,1,3
If Not PLFHRS.EOF Then
While Not PLFHRS.EOF
  PLFHRS("FHSL")


相关问答:

asp中用javascript动态改变Image的src的路径问题

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getEleme ......

ASP连接MySQL出错 急

我做了一个ASP网站(第一次做):
在我电脑上,我下了个MySQL的ODBC,
连接语句:
ConnStr = "DRIVER={MySQL ODBC 3.51 Driver};SERVER=127.0.0.1;DATABASE=test;USER=root;PASSWORD=123456;"
......

Active Server Pages 错误 'ASP 0113'

  Active  Server  Pages  错误  'ASP  0113'   
   
  脚本超时   
   
  /admin/affiche_zx/i ......

ASP简单问题

conn.asp

<%
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source="&server.MapPath("Connt ......

ASP中向ASPX页传值。 中文取不到值

又遇到问题乐。。

http://localhost/vsnet/LssearchC.aspx?searchtxt=王&city1===选择省份==&city2===选择市==&city3===选择区(县)==

这是asp里面的

<iframe src="vsne ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号