开发者

how set the record number field in Integer format in Crystal Report using C#?

开发者 https://www.devze.com 2023-01-07 01:02 出处:网络
I am using record number from formula fi开发者_运维技巧eld for SerialNO.Recordenumber shows the values in decimal format like 1.00,2.00 etc, but I like show that in 1,2 etc.

I am using record number from formula fi开发者_运维技巧eld for SerialNO.Recordenumber shows the values in decimal format like 1.00,2.00 etc, but I like show that in 1,2 etc.

How can I do this?


Why not use the field formatter? Crystal reports field formatter (right click the field and from the context menu, select format) and set how the number should be shown.


Since it's not really a number, but more of an index you can treat it as text:

ToText({SerialNO.Recordnumber},0) 
0

精彩评论

暂无评论...
验证码 换一张
取 消