使用“父母”在报告中,以省略超级报告 [英] using of "parent" in a report in order to omit superflous reports

查看:50
本文介绍了使用“父母”在报告中,以省略超级报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个表格。在每个中我都会调用另一个报告。

I have 2 forms. In each of them I call a different report.

展开 | 选择 | Wrap | 行号

推荐答案

您只提供了名称报告和职能范例;但是,您确实没有提供有关报告/表单本身的信息,也没有提供与调用代码范围相关的结构。


TBH:包含或省略报告是真正的东西是由您的客户决定的,而不是许多使用的东西可以帮助您决定。关于如何包含/排除某些内容,格式化,甚至偶尔建议如何设计项目的具体问题(特别是当涉及到 normalization )我们可以提供更多帮助...
You''ve only provided names of reports and examples of functions; however, you''ve really provided no information about the reports/forms themselves nor the structure pertaining to the scope of the calling code.

TBH: The inclusion or omission of a report is really something that is decided by your client and not something that many of use would be able to help you decide. A specific question about how to include/exclude something, formatting, even occasionally a suggestion on how to design a project (especially when it comes to normalization ) that we can be of more help with...


zmbd,谢谢。我应该补充一下:这是ACCESS 2013


我试图做的很短,因为它是推荐的。没有VBA代码。只是在报表中的字段中引用必须打开的表单中的字段(否则引用将不起作用)。


字段的引用
zmbd, thank you. I should add: it is ACCESS 2013

I tried to be short as it was recommended. There is no VBA-Code. Just a reference in a field in the report to a field in a forms which must be opened (otherwise the reference will not work).

The reference for the field
展开 | 选择 | Wrap | 行号


有几种方法可以做你自己的事尝试。对你来说,我会先调查TempVars,然后再调查OpenArgs。


这是一个性质相似的线程: http://bytes.com/topic/access/answer...cked-main-form

使用TempVar作为报告控件源的语法: http://bytes.com/topic/access/answer...command-button
There are a few ways to do what you are attempting. For you, I would look into TempVars first, then possibly OpenArgs.

Here is a thread that is similar in nature: http://bytes.com/topic/access/answer...cked-main-form
Syntax of using a TempVar as the Source for a Report Control: http://bytes.com/topic/access/answer...command-button


这篇关于使用“父母”在报告中,以省略超级报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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