In delphi Code to use FastReport Aggregate functions
Hello!
Is it possible to add aggregate funtions from code.
I created report partialy in designer then access its
components in delphi to like so:
But have anyone any experiance with adding agregate functions to TfrxMemoView?
Is it possible to add aggregate funtions from code.
I created report partialy in designer then access its
components in delphi to like so:
But have anyone any experiance with adding agregate functions to TfrxMemoView?
MasterData : TfrxMasterData;
  Memo: TfrxMemoView;
begin
  with UserSession do
  begin
  frxReport.Clear;
  frxReport.LoadFromFile(ReportFilePath,true);
  frxReport.DataSets.Add(frxDBDataSet);
  MasterData:= frxReport.FindObject('MasterData') as TfrxMasterData;
  MasterData.DataSet := frxDBDataSet;
  LoadXMLData(IDmer);
  LoadTexts(frxReport,LanguageINIFile,Language);
  LoadValues(frxReport);
  FDQueryReport.SQL.Text:='SELECT * FROM ....
  FDQueryReport.Open;
  memo:= frxReport.FindObject('MemoData') as TfrxMemoView;
  Memo.DataSet := frxDBDataSet;
  Memo.DataField := 'nr_motorja';  // DB field
Comments