水晶报表记录数 [英] crystal report recordnumber

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

问题描述

先生,我在Crystal报表中使用了特殊字段记录编号(Sr No)来显示带有序列号的记录.因为如果条件成立,我的报表将显示重复的员工姓名.所以我想如果员工姓名重复,那么他们的记录号(Sr No)就不应增加.但是当新员工的名字是他们的时候应该增加.
即目前我的报告

Sir I have taken the Special Field Record number (Sr No) in the Crystal report to display the records with serial number.As my report shows the duplicate employee names if condition becomes true. So I wanted if Employee name duplicates then their record number (Sr No) should not increment. But should increment when new employee name is their.
i.e at present my report

Sr  Name
 1  abcd
 2  xyz
 3  xyz
 4  xyz
 5  pqr
 6  efgh



但我希望Crystal报表显示为-



but I want Crystal report to display as-

Sr  Name
1  abcd
2  xyz
*  xyz
*  xyz
3  pqr
4  efgh


任何解决方案
谢谢您


Any Solution
Thanking You

推荐答案

您正在谈论禁止重复值.看这里:
水晶报告:删除重复的值 [
You are talking of suppressing duplicate values. Look here:
Crystal Reports: Remove Duplicate Values[^]

Alternatively, you can also suppress the data at DB level in your query while fetching the data.


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

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