以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 这样写出现错误,未能比较数组中的两个元素,什么原因? (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=188054) |
-- 作者:xluoping -- 发布时间:2023/8/29 23:21:00 -- 这样写出现错误,未能比较数组中的两个元素,什么原因? Dim caiyangs() As String = {"化学因素采样","化学因素现场检测采样","噪声强度采样","噪声脉冲采样","噪声个体采样","微波采样","振动采样","激光采样","电场磁场采样","紫外采样","超高频采样","高频采样","高温采样"} Dim caiyy As New List(of String()) For Each caiyang As String In caiyangs DataTables(caiyang).LoadFilter = "方案id = \'" & fang("_id") & "\'" DataTables(caiyang).Load Dim Arys As List(Of String()) Arys = DataTables(caiyang).GetValues("采样测量日期|采样员一确认","方案id = \'" & fang("_id") & "\' and 采样测量日期 is not null and 采样员一确认 is not null") If Arys.Count > 0 Then caiyy.AddRange(Arys) \'出现错误 End If Next 错误提示:未能比较数组中的两个元素,如何修改正确的?
|
-- 作者:有点蓝 -- 发布时间:2023/8/30 8:47:00 -- 没看出来这个代码和【比较数组中的两个元素】有什么关系。截图并使用文字说明一下要做什么功能 |