以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  判断当前行的问题  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=41100)

--  作者:myzzip
--  发布时间:2013/10/11 11:08:00
--  判断当前行的问题
请问怎么判断当前行有没有值 代码怎么写?
--  作者:Bin
--  发布时间:2013/10/11 11:09:00
--  
if tables("表名").current.isnull("列名") then
    messagebox.show("空值")
end if

--  作者:myzzip
--  发布时间:2013/10/11 11:11:00
--  

不限制列可以吗?判断当前行的所有列有没有值


--  作者:Bin
--  发布时间:2013/10/11 11:12:00
--  
循环就可以了

for each c as col  tables("表名").cols
if tables("表名").current.isnull(c.name) then
end if
next