How to convert design-time report Memo.UTF8W property to code

I want to convert a report from design-time creation to compile time.

I have a page footer in the report with a TFrxmemoview, that summates a Value (from DFM) :

...

   object Footer1: TfrxFooter

    object Memo2: TfrxMemoView

     DisplayFormat.DecimalSeparator = ','

     DisplayFormat.FormatStr = '%2.2f'

     DisplayFormat.Kind = fkNumeric

     Memo.UTF8W = (

      '[SUM(<DetailLevel."SIGNEDAMOUNT">,MasterData1)]')

    end

....

I Left the non relevant properties out.

How to convert the  Memo.UTF8W property? The property does not exist in code. I tried the .AsText, the lines.Add(..) etc. They do not work. The summation value stays empty. As such I do not know if the problem is somewhere else, e.g. the DetailLevel or Masterdata1 reference. The rest works fine.

Thanks,

Tjerk

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.