复选框以运行查询 [英] check box to run query
本文介绍了复选框以运行查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个显示数据库中所有客户端的表单。我想添加一个复选框,选中仅显示活动客户端,未选中显示所有客户端。
I have a form that shows all of the clients in the database. I want to add a check box that checked show only active clients and unchecked shows all client.
推荐答案
我有显示数据库中所有客户端的表单。我想添加一个复选框,选中仅显示活动客户端,未选中则显示所有客户端。
I have a form that shows all of the clients in the database. I want to add a check box that checked show only active clients and unchecked shows all client.
将复选框放在表单的页脚或标题中,然后将一些代码放在控件的after_update事件中
Put the check box in the footer or header of the form and then put some code in the after_update event of the control
展开 | 选择 | Wrap | 行号
我会这样做吗?
Private Sub Check76_AfterUpdate()
So I would do this?
Private Sub Check76_AfterUpdate()
展开 | Sele ct | Wrap | 行号
所以我拿出来了,我没有得到错误
So I took out this and I don''t get the error
展开 | 选择 | Wrap | 行号
这篇关于复选框以运行查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文