在VBA中更新表单上的文本框

问题描述:

我有一个简单的问题但是因为我的生活找不到解决方案。我所要做的就是在报表打开时更改报表上的倾斜(文本框)。我用以下代码打开报告

Hi, i have a simply problem but for the life of me cannot find a solution. all i wnat to do is change the tiltle (textbox) on a report when it opens. I open the report with the following code

展开 | 选择 | Wrap | 行号

您可以拥有用户报告运行时输入标题。看看这个帖子中的帖子#2。

http: //www.thescripts.com/forum/thre...ml#post2833663


或者,如果您希望根据报告的调用位置输入标题,可以创建一个全局变量并相应地分配标题。


欢迎来到TheScripts!


Linq ; 0)>
You could have your users enter a title when the report runs. Take a look at Post # 2 in this thread.

http://www.thescripts.com/forum/thre...ml#post2833663

Or, if you want the title entered depending on where the report is invoked, you could create a global variable and assign the title accordingly.

Welcome to TheScripts!

Linq ;0)>


我希望在报告打开时通过vb设置标题,但我无法找到最佳方法。如果我使用即时窗口并检查我可以获得报告上的文本框的值,以显示我想要的但它没有显示在报告上


即我这样做
I would like to have the title set through vb when the report is opened but i cant figure out the best way to do this. if i use the immediate window and check i can get the value of the text box on the report to show as what i want but it does not show on the report

ie i do this
展开 | 选择 | Wrap | 行号



我想通过vb设置标题报告已经打开,但我无法找到最佳方法。如果我使用即时窗口并检查我可以获得报告上的文本框的值,以显示我想要的但它没有显示在报告上


即我这样做
I would like to have the title set through vb when the report is opened but i cant figure out the best way to do this. if i use the immediate window and check i can get the value of the text box on the report to show as what i want but it does not show on the report

ie i do this
展开 | 选择 | Wrap | 行号