Foxtable(狐表)用户栏目专家坐堂 → MYSQL源限制按键问题


  共有1889人关注过本帖平板打印复制链接

主题:MYSQL源限制按键问题

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107861 积分:548662 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/8/26 16:11:00 [只看该作者]

到主表的currentchanged事件判断

If e.Table.Current Is Nothing Then '如果Current为Nothing
    Return '则返回
End
 If

if e.Table.Current.isnull("单号") andalso Tables("明细表").compute("count(单号)","单号is not null") = 0 then
e.form.controls("新增").enabled = true
else
e.form.controls("新增").enabled = false
endif

窗口关闭到BeforeClose时间处理:http://www.foxtable.com/webhelp/topics/0712.htm

 回到顶部
总数 23 1 2 3 下一页