本文介绍了在同一报表的多个副本的文本框中打印不同的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我相信之前有人管理过这个。

我有一个报告,我从表格上的按钮调用,调用打印4份报告。我想在报告上有一个打印Office Copy的框。在第一页上,P.O.B。在第二页等。


副本的数量在表格按钮的代码中设置。我在On Print中尝试了以下内容。报告中的事件。

Hi,
I am sure someone has managed this one before.
I have a report, which I call from a button on a form, which invokes the printing of 4 copies of a report. I would like to have a box on the report which prints "Office Copy" on the first page, "P.O.B." on the second pages etc.

The number of copies is set in the code on the Forms button. I have tried the following in the "On Print " Event on the report.

展开 | 选择 | Wrap | 行号

推荐答案





这解释了来自另一个的帖子论坛,建议你需要设置一个包含你想要使用的描述符的表,然后在OpenArgs中引用它们。然后显示代码,按照您的建议设置,模块中的公共变量。这对我来说都是梨形的,因为我不确定Module,这是否意味着设置一个单独的报告模块,以及调用它的表单。或者它是一个模块,用于报告中的特定控制。我将获得建议的代码。

JDS

This explains the post from "another" forum, suggesting you would need to set-up a table with the descriptors you want to use, and then refer to them in the OpenArgs. It then shows code, setting up just as you have suggested, a Public Variable in a module. This is where it all goes pear shaped for me, as I am not to sure by Module, does this mean setting up a module seperate to the Report, and the form that calls it. Or is it a module, for the specific control within the report. I will go get the suggested code.
JDS


这篇关于在同一报表的多个副本的文本框中打印不同的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 18:06