0

How can get the record number in details section not including the suppressed?

I have tried the following:
1. Right Click on any of the fields and select "Format Field.."
2. In the "Format" editor, go to "Common" tab.
4. Now go to the formula button "X+2" beside "Display String" and place the following code:

numberVar x; 
WhilePrintingRecords ; 
x:=x+1; 
ToText({Employee.Employee ID},0) \\<Database Record> 

  1. Created formula @aa and placed the following code:

numberVar x; 
WhilePrintingRecords ; 
x 

but it gives me a record number starting from 0. I want it to start from 1. can anybody help me?

4

1 回答 1

0

我在我的部分中使用了这种方式和公式:

格式化部分 -> [我的部分] -> 抑制(不向下钻取)

{mydataSet_TTX.IsValid}= 0 

并使用带有计数的运行总计用于行号然后用于预防记录未显示在报告“抑制”中的运行总计使用此公式

您的运行总计 -> 右键单击​​ -> 编辑运行总计 -> 评估 -> 使用公式

NOT({mydataSet_TTX.IsValid}= 0)

更改此部分后,保存报表设计并预览...行号已更正...记录号不包括“被抑制的记录(详细部分)”</p>

祝你好运。

于 2015-10-28T11:42:23.613 回答