以连续形式标记记录
在连续子表单中,我根据 DISTINCT 查询显示记录。因为它是不同的,所以每行不包含记录 ID。
有谁知道添加复选框(或类似的)的方法,以便用户可以选择任何记录,然后将其用于通过代码创建新记录?
我更喜欢使用列表的子表单,因为它具有许多列排序和过滤功能。
MTIA
In a continuous subform, I display records based on a DISTINCT query. Because it's distinct, each row does not include a record ID.
Does anyone know of a way to add a checkbox (or similar), so that a user can select any of the records, which will then be used to create new records via code?
I prefer to use a subform to a list, as it features lots of column sorting and filtering functions.
MTIA
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据创建记录所需的内容,类似此示例的内容可能适合:
更多信息:http:// support.microsoft.com/kb/208502
Depending on what you need to create the records, something like this sample may suit:
Further information: http://support.microsoft.com/kb/208502
仅供参考,我决定使用 Windows ListView OCX 控件,因为它提供了为每一行添加复选框的功能。
FYI, I decided to use the Windows ListView OCX control, as it offers the ability to add a checkbox for each row.