水晶报表中的过滤器 [英] filters in crystal report

查看:64
本文介绍了水晶报表中的过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

asalamualaikum ...
我想知道如何在水晶报表中应用过滤器..
:)

asalamualaikum...
i wanna kno how to apply filters in crystal reports..
:)

推荐答案

要过滤报告,我们必须使用公式.

我们可以用
来准备公式 (1)字段浏览器(窗口)或
(2)编写代码

看这篇文章:
过滤数据以编程方式显示在Crystal Report查看器中 [
To filter the reports we have to use Formulas.

We can prepare the formulas with
(1) Field Explorer (Window) or
(2) Writing the code

Look at this article:
Filter data to display in a crystal report viewer programmatically[^]


使用选择公式以过滤数据.

样品
Use Selection Formula to filter the data.

Sample
crystalReportViewer1.SelectionFormula = "{Table.Field}=" + textbox1.Text;


这篇关于水晶报表中的过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆