恭喜,你发布的帖子
发布于 2016-03-03 16:17:01
4楼
If !String.Is Null Or Empty(GJ_Num.Value) Then REM:工件编号条件
Sql =Sql + " and GJ_Num = " + GJ_Num.Value
end if
If !String.Is Null Or Empty(SX_CZ.Value) Then REM:姓名1条件
Sql =Sql + " and CZY = " + SX_CZ.Value
end if
If !String.Is Null Or Empty(SX_JY.Value) Then REM:姓名2条件
Sql =Sql + " and JYY = " + SX_JY.Value
end if
If !String.Is Null Or Empty(GJ_Num.Value) Then 这句编译时 提示 语法错误?
我这个条件的意思是想写 如果输入域中GJ_Num没有输入任何东西,为空或空格 它就不参与数据查询?
编译的时候,编译不过去!
请填写推广理由:
分享
只看
楼主