问题标签 [activereports]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
2196 浏览

visual-studio-2008 - DataDynamics ActiveReports 不打印页脚

我正在使用 DataDynamics ActiveReport 生成报告。当我运行程序并生成报告时,一切看起来都很好。然而,当我打印报告时,没有打印页脚。出了什么问题,我该如何解决?

编辑:如果需要,我将在横向模式下创建 11x17 报告。我可以将其导出为 pdf(显示页脚),然后打印。生成的打印输出有页脚,但会截断页面。如果我将其打印到网络上的打印机或使用我的文档编写器,则页脚不会显示。当我添加页眉时,为了使这更复杂,页眉打印,而不是页脚。

编辑:一位朋友也在这里打印了 11x17 ActiveReport,她也遇到了同样的问题。如果它只是打印机而不是文档编写器,我会认为这是因为我们将它打印在两张纸上,因为我们没有 11x17 的纸张,但是当我们将它打印到 .tif 文件时会发生同样的问题。

如果它有助于我在 ReportStart 中设置页面设​​置:

我在报告的属性中将打印宽度设置为 16.5。

0 投票
2 回答
1288 浏览

.net - 当 NewPage 设置为“After”时,ActiveReports 总是打印最后一页

我有一个 ActiveReports 文件,在我的报告的详细信息部分中将NewPage属性设置为“之后” 。每次打印时,我都会在报告末尾多获得一页。我怎样才能防止这种情况发生?

唯一的额外页面是最后一页。所以我很确定这不是页边距的问题。

0 投票
2 回答
7388 浏览

vb.net - Adding a subreport to Active Reports

I'm writing a report in VB .NET (using Active Reports) that displays details about a location, and then displays a bunch of images, which are stored in a database. The images are displayed in my main report via a subreport.

However, I can't get the images to load. I have two files, the main report (rptMain) and the image subreport (rptSubImages). The sub Detail1_Format in the rptSubImages never gets ran, which is why the images are not appearing, and I can't figure out why! I've included the code below... can anyone pinpoint why my subreport detail section isn't getting called? The rptSubImages report gets initialized, but if I put a stop point inside the detail sub, it never gets caught during debug.

Here is the code:

rptMain:



rptSubImages:


0 投票
2 回答
1263 浏览

report - DataDynamics 活动报告在长电子邮件地址中输入额外空格

我正在使用 Data Dynamics Active Reports 在我们的网站上生成一些报告。

操作:用户运行用户帐户报告(其中包含一个电子邮件字段)并导出到一个 excel 文件。问题:如果电子邮件相对较长,则会在字段中添加额外的空白。

有没有其他人有这个问题?如果是这样,你做了什么来修复它?

0 投票
1 回答
1075 浏览

c# - 在另一个事件中重置属性值

我在正确进行格式化方面遇到了一些麻烦。我相信这源于对我试图做出改变的事件的错误理解。

任何方向都会很棒

问题是每次我单步执行 eh_BeforePrint 方法时,即使我单步执行子报告并且正确设置了值,这些值也始终等于 false。发生了什么导致 bool 属性重置为 false?

如果每个子报表的 Fetch_Data 方法中有要打印的记录,只需更改它即可。

0 投票
1 回答
1117 浏览

activereports - 什么是 CR 中与 Suppress If Blank 选项等效的 Active Reports?

什么是 CR 中与 Suppress If Blank 选项等效的 Active Reports?

如果内容为空或为空,如果要在 ActiveReports 中抑制文本框。

0 投票
1 回答
2354 浏览

dynamic - ActiveReport 3:为 CrossTable 添加动态列

我在 ActiveReport 3 下,我需要创建具有动态列数和行数的 CrossTable。

ActiveReport 3 给出的示例在设计视图中放置了修复列,这很糟糕。
有一个解决方案可以在 Active Report 3 下创建真正的交叉表吗?

现在我尝试这些事件:

0 投票
1 回答
597 浏览

vb6 - Printing from a vb.net program using activereports stops working

and sorry for not exactly a programming question, but if anyone can help i thought this is the place after googling around and finding nothing.

I have to cope with a crappy (presumably vb6) .net application for printing all sorts of reports. After installing it prints Ok, but if i print using another program, this one stops printing (halts on a modal blocks telling me it is 'forming a report').

From what i gathered with exploring the .exe and the hopeless support (apparently no-one else has this problem, they cannot understand what's wrong), it uses actrpt2.dll which seems to something called ActiveReports2. If i register this dll with regsvr32 the program WILL print, and after printing from any other program i need to register the dll again before printing works on this one.

So i made a quick .bat hack for it.. But the programmer in me cannot understand why this stuff with the dll keeps happening (well ok, it's windows...) - if anyone knows what is happening, and how could it be fixed, please tell me, i would appreciate it :)

0 投票
1 回答
4553 浏览

vb.net - 调用的目标已抛出异常

我知道这是一个相对常见的错误,但我正在使用允许使用 vb.net 或 C# 编写自定义报告的应用程序进行脚本编写。错误处理非常差,我没有足够的知识来添加我自己的(如果可能的话)。

我的代码只是检索存储在报告中文本框中的值,格式为LastName、FirstName,并截断逗号后的所有字符。这个值LastName被放置在报表的一个新文本框中。这是我的代码:

当我使用 lastNameCommaIndex 设置子字符串中的字符数时会发生错误。如果我将其替换为数字,则报告将正确发布。

0 投票
1 回答
562 浏览

activereports - 子报表中的空参数导致子子报表失败

我正在使用活动报告版本 3.2

我有一个带有子报告 A 的报告。在子报告 A 中有子报告 B。

报表将参数X传递给子报表A子报表A传递参数Y子报表B

如果子报表 A 的结果为空,则 B 在执行某些正则表达式时无法抛出空异常错误。

我已经尝试了几种方法来解决这个问题。

我添加了一个默认参数,这仍然失败。<%'OtherModuleRef'|输入模块|'00000000-0000-0000-0000-000000000000'|S|False%>

我已更改 SQL 以检测空值并生成有效查询。这也失败了。

我还能尝试什么?