在VB6+SQL SERVER2000中:
修改数据有时不成功:
strsql = "Update tblTempDia set Dia=" & Dia & ",UpdateID='" & sUserID& "',UpdateTime=getdate() " & _
" where PrinterDate='" & ADate & "' and NewPaperID='" & sNewPaper & "' and PaperMac='" & sPaperMac & "'"
Cn.Execute strsql, iAffect*******iAffect有时少于等于0,这主要是什么原因引起的???
修改数据有时不成功:
strsql = "Update tblTempDia set Dia=" & Dia & ",UpdateID='" & sUserID& "',UpdateTime=getdate() " & _
" where PrinterDate='" & ADate & "' and NewPaperID='" & sNewPaper & "' and PaperMac='" & sPaperMac & "'"
Cn.Execute strsql, iAffect*******iAffect有时少于等于0,这主要是什么原因引起的???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货