以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  条件判断  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=110086)

--  作者:有点甜
--  发布时间:2017/11/26 11:06:00
--  

1、跨表查询参考

 

http://www.foxtable.com/webhelp/scr/1451.htm

 

2、不能保存,参考

 

http://www.foxtable.com/webhelp/scr/0628.htm

 

 

 


--  作者:有点甜
--  发布时间:2017/11/26 16:29:00
--  

是写到表格的beforeSaveDataRow事件去。

 

如果要写到按钮里,直接写

 

Dim idx As Integer = Tables("表").FindRow("加工工序 is null")

If idx >= 0 then

    msgbox("不能保存")

    Tables("表").Position = idx

End If


--  作者:有点甜
--  发布时间:2017/11/26 18:03:00
--  

上面的代码只是判断,你原来保存的代码,不变。