窗口里做条件统计。统计0或者NULL值,不能正确显示。
![dvubb 图片点击可在新窗口打开查看](skins/default/filetype/png.gif)
此主题相关图片如下:qq截图20160706143030.png
![dvubb 图片点击可在新窗口打开查看](UploadFile/2016-7/20167614314837123.png)
Dim L1 As Integer
L1 = DataTables("表A").Compute("Count([第一列])", "第一列 = IsNull(第一列,0)")
e.form.Controls("Label5").Text = L1 & "个"
Dim L2 As Integer
L2 = DataTables("表A").Compute("Count([第一列])", "第一列 < 1 And " & "第一列 > 0" )
e.form.Controls("Label6").Text = L2 & "个"
Dim L3 As Integer
L3 = DataTables("表A").Compute("Count([第一列])", "第一列 = 1")
e.form.Controls("Label4").Text = L3 & "个"
代码需要如何修改