易截截图软件、单文件、免安装、纯绿色、仅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初学问题。response找不到

<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'注意变量 ......

asp:checkbox

我要为 服务器端控件  asp:checkbox  注册客户端属性 value  怎么做啊
value属性无法注册,建议lz换个属性,反正属性名字也就是个代号而已如:
CheckBox1.Attributes.Add("value1", ......

asp递归上限的问题

news表里有pname(上层科目),mname(科目),type(分类)这三个字段;

下面这个递归.实验测试只能递归到110层..需要怎么改,才能无限??

JScript code:

function gethz(pname8,type8)
dim str,rs
......

用ASP怎么写以下代码

当结束时间大于开始时间则显示未完成
当结束时间小于开始时间则显示未达到任务
没有时间则显示正在进行中
asp代码应该怎么写


如:开始时间      结束时间      & ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号