Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有许多包含当前列和 ytd 列的报告(推销员汇总)。我希望能够根据单击的列选择子报告。我有一个选择当前的 sql 过程和一个选择 ytd 的 sql 过程。我想对当前和 ytd 使用相同的报告格式(无需复制和修改)。无论如何确定点击了哪一列?
Crystal Reports 几乎只是一个报告工具。它不是很有互动性。
我更熟悉旧版本的 Crystal Reports,但据我所知,没有任何onClick方法可以使用纯 Crystal Reports 捕获列。
onClick
根据您拥有的列数,您可以为每列创建一个子报表,但如果您有大量列要为其创建子报表,这可能会非常慢。
如果您使用 C# 或 VB.NET 生成报告,您可能有更多选择,但由于该问题未使用任何编程语言标记,我将假设这是纯 Crystal Reports。