如何在连续子窗体中使用未绑定复选框-MS Access 2013 [英] How to use unbound checkbox in a Continuous Subform - MS Access 2013

查看:191
本文介绍了如何在连续子窗体中使用未绑定复选框-MS Access 2013的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Access相当陌生,很难弄清它的每一点.现在,我想要一个包含从查询中获取的行的网格,以及每行的复选框.这就是我想要的:

I'm fairly new to Access and having a really hard time figuring out each and every bit of it. Now I want to have a grid containing rows fetched from a query and a checkbox for every row. Here's what I want:

  1. 用户应该能够选择单个复选框以选择该行.
  2. 全选"复选框以选择所有行.
  3. 仅在单击按钮后,行才必须更新

我有

  1. 创建了表单.
  2. 添加了一个连续子窗体,并且行源具有一个绑定到是/否"字段的复选框.

我被困在这一点上.请参考所附图片,并帮助我解决此问题.请提出一些带有实际示例的优秀教程.非常感谢.

I'm stuck at this point. Please refer to the attached image and help me figure this out. Please suggest some good tutorials with practical examples. Thanks a lot.

推荐答案

使用clsCCRecordSelect类="nofollow"> SelectRecordsV2 . 下载数据库中有一些示例,但是注释以德语显示(如有需要,我可以翻译).如果您需要在表单显示form.name,表单记录源和明细部分的控件名称中实现此建议(您需要一个具有唯一值的控件,以将复选框关联到记录中,这可能是不可见的).

Use the clsCCRecordSelectclass from SelectRecordsV2. There are samples in the download db, but comments are in german lang (I can translate if needed). If you need advice in implementing this to your form show form.name, form recordsource and control names of detail section (you need one control with unique values to assing the checkboxes to a record, can be invisible).

这篇关于如何在连续子窗体中使用未绑定复选框-MS Access 2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆