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.
我想在水晶报表中创建一个在报表运行时显示的参数字段,如果用户选择“选项A”,数据将根据“选项A”显示,但如果用户选择“选项b”,用户必须从“选项C”中选择”和“选项 D”,仅在选择“选项 B”时显示
水晶使这非常棘手(如果我正确解释了您的问题)。
理想情况下,您需要创建自己的前端来运行报告(因为您可以拥有任何您喜欢的复杂逻辑)。
在 Crystal 设计器中,您将获得最接近的方法是创建一个动态的级联参数,其中两层包含您的两个级别的选项。
col1, col2 OptA, OptA OptB, OptC OptB, OptD
然后,您需要将它们链接到您的主表,否则您最终会得到一堆数据。