Total in MasterData band

edited 12:31PM in FastReport 3.0
I have two columns, in one the Masterdata bad "Prices" of products and in another the "quantity" of them.
Is it posible to get cumulative sum of this in each record?
In first record sum of this two, in secont previus sum plus curent sum, an so on in each record...
Something like this printed in each record of the master band:
[SUM(<Test."Price">*<Test."Quantity">,MasterData1,2))]

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:31PM
    the sum function is only used for agrregates in footers
    other than that set a memos allow expressions prop to true
    use a variable to store the the sum of the expression by writing code in oap or oad events of memo or obp of band.
    read the user manual on working with variables.

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.