Crystal Report中具有自定义排序值的自定义组 [英] Custom group with custom sorted value in Crystal Report

查看:83
本文介绍了Crystal Report中具有自定义排序值的自定义组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Crystal Report中的按指定顺序创建了自定义排序值的自定义组。

如果上面创建的组没有记录,那么我想在那里写自己的文本。



赞:



第1组

Record1

Record2

Record3

第2组

Record1

Record2

第3组

'无记录'





这里是第1组和第2组有记录(从数据库中提取)但是在第3组中没有来自Datebase的记录。所以,我想编写自己的文本,如'No Record'。

I have created custom group with custom sorted value by using ' in specified order ' in Crystal Report.
If there is no record the above created groups then i want to write my own text there.

Like:

Group 1
Record1
Record2
Record3
Group 2
Record1
Record2
Group 3
'No Record'


Here is Group 1 and 2 have records (fetched from Database) but there is no record in Group 3 from Datebase. So, I want to write my own text like 'No Record'.

推荐答案

在Crystal Report中应用公式。



取3个隐藏在水晶设计中的文本字段,并根据您的组名称。

现在,当您从数据库中获取数据时,请在您的组名称中输入Crystal中的公式。

在未使用的文本中取消



参考此链接:如何创建Crystal Report公式 - 简单的简单Tutoria 取消Crystal Reports中的字段
Apply formulas in Crystal Report.

Take 3 text fields that are hidden in crystal design and name them according to your group.
Now when u fetch data from your database insert formula in crystal provided by your group name.
Suppress in your texts that are not in use

Refer this link : HOW TO Create Crystal Report Formulas - Easy Simple Tutoria or Suppress field in Crystal Reports


这篇关于Crystal Report中具有自定义排序值的自定义组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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