且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

水晶报表:重复值显示0.00

更新时间:2023-10-08 08:37:58

不检查燮preSS如果复制。。你需要写公式的显示字符串

Do not check Suppress if Duplicated.. You need to write formula for Display String.

例如,

if PreviousIsNull ({object.field}) then 
  cstr({object.field})
else
if CurrentFieldValue=previous({object.field}) then 
   '0.00' 
else 
  cstr({object.field})

编辑:

  if PreviousIsNull ({object.field}) then 
      cstr({object.field})
    else
    if {object.field}=previous({object.field}) then 
       '0.00' 
    else 
      cstr({object.field})