需要创建一个选择性(过滤)查找报告(thingy?) [英] Need to create a selective(filtered) lookup report (thingy?)

查看:51
本文介绍了需要创建一个选择性(过滤)查找报告(thingy?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我再一次向所有事物展示我完全(或几乎)无能为力。


我正在使用Access 2007,需要执行以下操作:


设置:


我有会员资料表和会费信息表。它们通过唯一的ID号链接,这样我就可以看到每个条目的数据,而无需打开相应的表格。


问题:


我需要创建一个表单(或者我需要的任何东西来实现我的目标),它基本上允许我通过点击来选择过滤器参数。


就像这样:


每个月使用一个复选框的表单。选择您想要查看的月份,然后点击生成按钮。按钮。然后它会生成一个在这几个月内支付的会费报告,并将它们与另一个表中的数字和名称一起显示。


我不知道如何将每个复选框链接到表格中的字段,然后将所有选中的字段添加到报表中。


我甚至不确定是否可以完成。


任何人都可以指导一个倒霉的,无辜的,无知的新手尝试????


请用糖加在上面?

Ok I''m once again showing my complete (or almost) ineptitude with all things Access.

I''m using Access 2007 and need to do the following:

SETUP:

I have a table of membership information, and a table of dues information. They are linked via a unique ID number so that I can see the data for each entry without opening the corresponding table.

PROBLEM:

I need to create a form (or whatever I need to accomplish my goal) that basically allows me to select the filter parameters by clicking.

Like so maybe:

A form that uses a check box for each month. By selecting the months you want to see and then hitting a "Generate" button. It then generates a report of dues paid in those months, and displays them alongside a number and a name from the other table.

I have no idea how to link each check box to a field in a table and then getting all those selected to be joined in a report.

I''m not even sure it can be done.

Can anyone guide a hapless, gormless, ignorant rookie trying????

Please, with sugar on top?

推荐答案

让我们先从概念开始。如果坚持下去,我们可以涂糖衣。
Let''s start with the concepts first then. We can sugar coat if you stick with it.
  1. 您需要一份报告来显示信息。在这个阶段不要担心过滤。设计一个可以显示整个数据集的报告。
  2. 您需要一个表单来从中选择您的标准。在表单上,​​您需要放置所需的任何控件,以允许操作员选择仅选择他们想要的项目的条件。
  3. 当他们选择了选择时,命令按钮控件应该是单击以触发您的代码以运行报告。
  4. 您的代码需要设置一个过滤字符串,其复杂性由您的表单决定。
  5. 最后,您的代码需要调用报告,但应该包括在调用中传递过滤器字符串。

这样做的结果是报告(可以显示整个数据集)只显示过滤后的数据 - 如你所愿它来了。

The effect of this will be that the report (which can show your whole dataset) will just show the filtered data - as you want it to.


该死的我希望避免使用代码,我不能写那些东西。


好​​的,我现在有一个表格包含十二个复选框和两个命令按钮。一个按钮用于打开全年的报告,另一个按钮用于操作过滤器命令。


我还创建了报告以显示全年。
Damn I was hoping to avoid using codes and I can''t write that stuff.

Ok I now have a form that contains twelve check boxes and two command buttons. One button to open the report for the whole year and one that will operate the filter command.

I also have the report created to show the whole year.


你会惊讶于你可以通过一些帮助来管理;)


首先,我们需要知道你的CheckBoxes应该做什么。你可以从其中几个开始给出一个大致的想法。


现在看看在表单上过滤示例以查看所解释的概念,甚至重现该示例以更好地了解此主题。当你这样做时,回过头来,我们可以带你通过它,因为它与你的情况有关(如果你在那个阶段甚至需要更多的帮助)。
You''d be surprised what you can manage with a little help ;)

First of all, we need to know what your CheckBoxes are supposed to do. You can start with just a couple of them to give a general idea.

Now look in Example Filtering on a Form to see the concepts explained and even reproduce the example to get a good feel of this subject. When you''ve done that, come back and we can take you through it as it relates to your situation (if you even need any more help at that stage).


这篇关于需要创建一个选择性(过滤)查找报告(thingy?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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