1,216
社区成员
发帖
与我相关
我的任务
分享
strRstConn = "select * from tbl_abc where b_Date=cdate(2011-6-29)"
rstTemp.Open strRstConn, CnnDB, adOpenStatic, adLockPessimistic
If rstTemp.EOF = True And rstTemp.BOF = True Then
MsgBox "日期为【" & dtpRecDate.Value & "】的单据都已经打印!" & vbCrLf & "或无单据。", vbInformation, "打印单据"
Else
If rstTemp.Fields("b_Check") = 1 Then
MsgBox "单据已打印,不能再次打印!", vbInformation, "打印单据"
......