帮助在搜索表单中过滤结果 [英] help with filtering results in a search form

查看:69
本文介绍了帮助在搜索表单中过滤结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个效果很好的搜索表单,除非我在搜索相应表格中有多个条目的记录。我想过滤结果,以便它们显示与该记录相关的所有信息(如果有多个)。这是我正在使用的代码。谢谢你的帮助!


I created a search form that works well except when i am searching for a record that has multiple entries in the corresponding table. i would to filter the results so that they will display all the information associated with that record if there is more than one. here is my code that i am using. thanks for your help!


展开 | 选择 | Wrap | 行号

推荐答案

尝试更换行18通过以下代码中的23个代码:

Try replacing lines 18 thru 23 of your code with the following:

展开 | 选择 | Wrap | 行号



尝试使用以下代码替换代码中的第18行到第23行:

Try replacing lines 18 thru 23 of your code with the following:

展开 | 选择 | Wrap | 行号


对不起,将第22行移到第18行和第19行之间。


" DoCmd.RunCommand acCmdFilterBySelection需要关注地址字段。
Sorry, move line 22 to be between lines 18 and 19.

" DoCmd.RunCommand acCmdFilterBySelection" needs to have focus on the Address field.


这篇关于帮助在搜索表单中过滤结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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