原本想使用一个字段,引用报表中内置的一个方法,未果。

解决方法:

function LineCount_OnGetText(Self: TRaveDataText; var Value: string);
var iCount:Integer;
  sCount:String;
  sTemp:String;
begin
  sTemp := RaveProject.GetParam('LineCount');
  if (sTemp = '') then
   sTemp := '0';
  end if;
  iCount := StrToInt(sTemp);
  sCount := IntToStr(iCount + 1);
  Value := sCount;
  RaveProject.SetParam('LineCount', sCount);
end OnGetText;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
  • 2021-11-24
  • 2021-12-22
  • 2022-12-23
  • 2022-02-16
猜你喜欢
  • 2022-12-23
  • 2021-05-20
  • 2021-05-07
  • 2022-12-23
  • 2021-04-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案