以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  菜单问题  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=169662)

--  作者:admin22327
--  发布时间:2021/6/25 7:38:00
--  菜单问题

DataTables("集群注册A").LoadFilter = "[经营者姓名] Is Nothing "
DataTables("集群注册A").Load()

提示有语法错误

 

 

集群注册表 在菜单栏设置一个保存按钮,如果B列不为空,日期列为空,提示“请输入日期” 求代码


--  作者:有点蓝
--  发布时间:2021/6/25 8:39:00
--  
if DataTables("集群注册A").find("B列 is not null and 日期 is null") isnot nothing then
msgbox("请输入日期")
return
end if
DataTables("集群注册A").save

--  作者:admin22327
--  发布时间:2021/6/25 9:08:00
--  

不好意思,前面提到的问题是一个表,现在有同样的三个表,在菜单栏设置一个保存按钮,这个代码该怎么写

if DataTables("集群注册A").find("B列 is not null and 日期 is null") isnot nothing then
msgbox("请输入日期")
return
end if
DataTables("集群注册A").save


--  作者:有点蓝
--  发布时间:2021/6/25 9:34:00
--  
if DataTables("集群注册A").find("B列 is not null and 日期 is null") isnot nothing orelse DataTables("xx表").find("B列 is not null and 日期 is null") isnot nothing then
msgbox("请输入日期")
return
end if
DataTables("集群注册A").save
DataTables("xx表").save

--  作者:admin22327
--  发布时间:2021/6/25 12:10:00
--  
在菜单栏设置一个按钮,加载A列为空的行,或者重新加载当前表,求代码,谢谢
[此贴子已经被作者于2021/6/25 12:24:22编辑过]

--  作者:有点蓝
--  发布时间:2021/6/25 13:28:00
--  
DataTables("集群注册A").LoadFilter = "[经营者姓名] Is null"
DataTables("集群注册A").Load()