发布网友 发布时间:2024-10-23 23:29
共4个回答
热心网友 时间:2024-11-06 15:36
strfind = "select* from 温湿度节点1 where 日期>=dateserials(year1,month1,day1) And 日期<= dateserials(year2,month2,day2)"
热心网友 时间:2024-11-06 15:34
留个QQ我帮你看看
热心网友 时间:2024-11-06 15:35
qsrq = Format$(DTPicker1.Value, "yyyy-MM-dd") + " " + Format$(DTPicker2.Value, "HH:MM:ss")
zzrq = Format$(DTPicker3.Value, "yyyy-MM-dd") + " " + Format$(DTPicker4.Value, "HH:MM:ss")
Adodc1.RecordSource = "select * from ji where tjshijian between '" & qsrq & "' and '" & zzrq & "'"
热心网友 时间:2024-11-06 15:34
修改为:
strfind = "select* from 温湿度节点1 where 日期>= '" & year1 & "/" & month1 & "/" & day1 & "'" And 日期<= '" & year2 & "/" & month2 & "/" & day2 & "'" '查询某段日期的记录"